Part Number Hot Search : 
PACDN044 61005 SMF45A30 YG912S2R MB8998X X4325 LB111 STA016
Product Description
Full Text Search
 

To Download KSZ8851-16MLL Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ksz8851 - 16mll/mlli /mllu single - port ethernet mac controller with 8 - bit or 16 - bit non - pci i nterface revision 2. 2 march 11, 2014 1 revision 2. 2 general description the ksz8851m - series is a single - port controller chip with a non - pci cpu interface and is available in 8 - bit and 16 - bit bus designs. this datasheet describes the 48 - pin lqfp ksz8851 - 16mll for applications requiring high - performance from single - port ethernet controller with 8 - bit or 16 - bit generic processor interface. the ksz8851 - 16mll offers the most cost - effective solution for adding high - throughput ethernet connectivity to traditional embedded systems. the ksz8851 - 16mll is a single chip , mixed analog/digital device offering wake - on- lan technology for effectively addressing fast ethernet applications. it consists of a f ast ethernet mac controller, an 8 - bit or 16 - bit generic host processor interface and incorporates a unique dynamic memory pointer with 4 - byte buffer boundary and a fully utilizable 18kb for both tx (allocated 6kb) and rx (allocated 12kb) directions in host buffer interface. the ksz8851 - 16mll is designed to be fully compliant with the appropriate ieee 802.3 standards. an ind ustrial temperature - grade version of the ksz8851 - 16mll i and a qualified aec - q100 automotive version of the ksz8851 - 16mllu are also available (see ?ordering information? section). linkmd ? physical signal transmission an d reception are enhanced thro ugh the use of analog circuitry. this makes the design more efficient and allow s lower - power consumption. the ksz8851 - 16mll is designed using a low - power cmos process that features a single 3.3v power supply with options for 1. 8v, 2.5v or 3.3v vdd i/o. the device includes an extensive feature set that offers management information base (mib) counters and cpu control/data interfaces with single shared data bus timing. the ksz8851 - 16mll includes a unique cable diagnostics feature called linkmd ? . this feature determines the length of the cabling plant and also ascertains if there is an open or short condition in the cable. accompanying software enables the cable length and cable conditions to be conveniently displayed. in addition, the ksz8851 - 16mll supports hewlett packard (hp) auto - mdix thereby eliminating the need to differentiate between straight or crossover cables in applications. functional diagram figure 1. ksz8851 - 16mll/mlli functional diagram
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 2 revision 2. 2 features ? integrated ma c and phy ethernet controller fully compliant with ieee 802.3/802.3 standards ? designed for high performance and high throughput applications ? supports 10base - t/100base - tx ? supports ieee 802.3x full - duplex flow control and half - duplex backpressure collision flow control ? supports dma - slave burst data read and write transfers ? supports ip header (ipv4)/tcp/udp/icmp checksum generation and checking ? supports ipv6 tcp/udp/icmp checksum generation and checking ? automatic 32 - bit crc generation and checking ? simple sr am - like host interface easily connects to most common embedded mcus. ? supports multiple data frames for receive without address bus and byte - enable signals ? supports both big - and little - endian processors ? larger internal memory with 12k bytes for rx fifo and 6k bytes for tx fifo. programmable low, high and overrun watermark for flow control in rx fifo ? shared data bus for data, address and byte enable ? efficient architecture design with configurable host interrupt schemes to minimize host cpu overhead and utili zation ? powerful and flexible address filtering scheme ? optional to use external serial eeprom configuration for mac address ? single 25mhz reference clock for both phy and mac ? hbm esd rating 6kv power modes, power supplies, and packaging ? single 3.3v power sup ply with options for 1.8v, 2.5v and 3.3v vdd i/o ? built - in integrated 3.3v or 2.5v to 1.8v low noise regulator (ldo) for core and analog blocks ? enhanced power management feature with energy detect mode and soft power - down mode to ensure low - power dissipatio n during device idle periods comprehensive led indicator support for link, activity and 10/100 speed (2 leds) - user programmable ? low - power cmos design ? commercial temperature range: 0 c to +70 c ? industrial temperature range: ? 40 c to +85 c ? flexible pac kage options available in 48 - pin (7mm 7mm) lqfp ksz8851 - 16mll or 128 - pin pqfp ksz8851 - 16/32mql additional features in addition to offering all of the features of a layer 2 controller, the ksz8851 - 16mll offers: ? flexible 8 - bit and 16 - bit generic host proc essor interfaces with same access time and single bus timing to any i/o registers and rx/tx fifo buffers ? supports to add two - byte before frame header in order for ip frame content with double word boundary ? micrel linkmd ? cable diagnostic capabilities to de termine cable length, diagnose faulty cables, and determine distance to fault ? wake - on- lan functionality ? incorporates magic packet?, wake - up frame, network link state, and detection of energy signal technology ? hp auto mdi - x? crossover with disable/enable op tion ? ability to transmit and receive frames up to 2000 bytes network features ? 10base - t and 100base - tx physical layer support ? auto - negotiation: 10/100 mbps full and half duplex ? adaptive equalizer ? baseline wander correction applications ? video/audio distribu tion systems ? high - end cable, satellite, and ip set - top boxes ? video over ip and iptv ? voice over ip (voip) and analog telephone adapters (ata) ? industrial control in latency critical applications ? home base station with ethernet connection ? industrial control sensor devices (temperature, pressure, levels, and valves) ? security, motion control and surveillance cameras ? in - vehicle diagnostics (obd) & software download markets ? fast ethernet ? embedded ethernet ? industrial ethernet ? embedded systems ? automotive ethernet
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 3 revision 2. 2 ordering information part number temperature range package lead finish ksz8851 - 16mll 0 c to 70c 48- pin lqfp pb - free ksz8851 - 16mlli ? 40 c to +85c 48- pin lqfp pb - free ksz8851 - 16mllu (auto motive aec - q100 qualified) ? 40 c to +85c 48- pin lqfp pb - free ksz8851 - 16mll - eval evaluation board for the ksz8851 - 16mll revision history revision date summary of changes 1.0 0 6/30 /2008 first released information. 1.1 2/13/2009 improved eds rating up to 6kv, revised ordering information and update d table content and description. 2.0 8/31/2009 change revision id from ?0? to ?1? in cider (0xc0) registe r. update pins 8, 14 and 29 description for 1.8v vdd_io supply. to add the command write (cmd=1) address index register in order for software to read back the cmd re gister value . to enable software read or write external eeprom. 2.1 04/ 30 /201 2 in 16 - bit bus mode, the sd1 bit must set to ?1? when cmd = 1 during dma access. remove auto - enqueue function, add the reset circuit. update the description for the register pm ecr bits [1,0]. add ksz8851mllu automotive part. add the description for the register txcr bit 7. update read/write timing diagram for asynchronous cycle. add power sequence descriptions in the reset timing section. 2. 2 03/ 04 /201 4 remove auto - enqueue fu nction for transmit , update the description for section of asynchronous interface. update read/write timing diagram and table, add notes for timing table , cider and rxfctr register s . update the defination for register p1cr bit [9] , p1mbcr bit [4] and rx/tx pair . update the description in half - duplex backpressure section. change ttl to cmos and updates min/max i/o voltage in different vddio.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 4 revision 2. 2 contents list of figures .......................................................................................................................................................................... 7 list of tables ........................................................................................................................................................................... 8 pin configuration ..................................................................................................................................................................... 9 pin description ...................................................................................................................................................................... 10 pin for strap - in options ......................................................................................................................................................... 13 functional description ........................................................................................................................................................... 14 functional overview .............................................................................................................................................................. 14 rx unused block disabled ............................................................................................................................................. 14 wake - up packet ........................................................................................................................................................... 16 physical layer transceiver (phy) ........................................................................................................................................ 17 straight cable ............................................................................................................................................................... 18 crossover cable ........................................................................................................................................................... 19 access .......................................................................................................................................................................... 21 usage ........................................................................................................................................................................... 21 frame queue (rxq) frame format ............................................................................................................................ 29 eeprom interface ....................................................................................................................................................... 31 cpu interface i/o registers .................................................................................................................................................. 33 i/o registers ................................................................................................................................................................. 33 internal i/o registers space mapping ......................................................................................................................... 33 cider ................................................................................................................................................................................... 37 0x887 x ................................................................................................................................................................................... 37 reserved ............................................................................................................................................................................... 38 do not care .......................................................................................................................................................................... 38 none ...................................................................................................................................................................................... 38 register map: mac, phy and qmu ..................................................................................................................................... 39 bit type definition ........................................................................................................................................................ 39 0x00 ? 0x07: reserved ................................................................................................................................................. 39 chip configuration register (0x08 ? 0x09): ccr ........................................................................................................ 39 0x0a ? 0x0f: reserved ................................................................................................................................................ 39 host mac address registers: marl, marm and marh ........................................................................................... 40 host mac address register low (0x10 ? 0x11): marl .............................................................................................. 40 host mac address register middle (0x12 ? 0x13): m arm ......................................................................................... 40 host mac address register high (0x14 ? 0x15): marh ............................................................................................ 40 0x16 ? 0x1f: reserved ................................................................................................................................................ 40 on - chip bus control register (0x20 ? 0x21): obcr .................................................................................................. 41 eeprom control register (0x22 ? 0x23): eepcr ..................................................................................................... 41 memory bist info register (0x24 ? 0x25): mbir ........................................................................................................ 42 global reset register (0x26 ? 0x27): grr ................................................................................................................. 42 0x28 ? 0x29: reserved ................................................................................................................................................. 42 wakeup frame control register (0x2a ? 0x2b): wfcr ............................................................................................. 43 0x2c ? 0x2f: reserved ................................................................................................................................................ 43 wakeup frame 0 crc0 register (0x30 ? 0x31): wf0crc0 ...................................................................................... 43 wakeup frame 0 crc1 register (0 x32 ? 0x33): wf0crc1 ...................................................................................... 43 wakeup frame 0 byte mask 0 register (0x34 ? 0x35): wf0bm0 .............................................................................. 44 wakeup frame 0 byte mask 1 register (0x36 ? 0x37): wf0bm1 .............................................................................. 44 wakeup frame 0 byte mask 2 regis ter (0x38 ? 0x39): wf0bm2 .............................................................................. 44 wakeup frame 0 byte mask 3 register (0x3a ? 0x3b): wf0bm3 .............................................................................. 44 0x3c ? 0x3f: reserved ................................................................................................................................................ 44
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 5 revision 2. 2 wakeup frame 1 crc0 register (0x40 ? 0x41): wf1crc0 ...................................................................................... 44 wakeup frame 1 crc1 register (0x42 ? 0x43): wf1crc1 ...................................................................................... 45 wakeup frame 1 byte mask 0 register (0x44 ? 0x45): wf1bm0 .............................................................................. 45 wakeup frame 1 byte mask 1 register (0x46 ? 0x47): wf1bm1 .............................................................................. 45 wakeup frame 1 byte mask 2 register (0x48 ? 0x49): wf1bm2 .............................................................................. 45 wakeup frame 1 byte mask 3 register (0x4a ? 0x4b): wf1bm3 .............................................................................. 45 0x4c ? 0x4f: reserved ................................................................................................................................................ 45 wakeup frame 2 crc0 register (0x50 ? 0x51): wf2crc0 ...................................................................................... 45 wakeup frame 2 crc1 register (0x52 ? 0x53): wf2crc1 ...................................................................................... 46 wakeup frame 2 byte mask 0 register (0x54 ? 0x55): wf2bm0 .............................................................................. 46 wakeup frame 2 byte mask 1 register (0x56 ? 0x57): wf2bm1 .............................................................................. 46 wakeup frame 2 byte mask 2 register (0x58 ? 0x59): wf2bm2 .............................................................................. 46 wakeup frame 2 byte mask 3 register (0x5a ? 0x5b): wf2bm3 .............................................................................. 46 0x 5c ? 0x5f: reserved ................................................................................................................................................ 46 wakeup frame 3 crc0 register (0x60 ? 0x61): wf3crc0 ...................................................................................... 46 wakeup frame 3 crc1 register (0x62 ? 0x63): wf3crc1 ...................................................................................... 47 wakeup frame 3 byte mask 0 register (0x64 ? 0x65): wf3bm0 .............................................................................. 47 wakeup frame 3 byte mask 1 register (0x66 ? 0x67): wf3bm1 .............................................................................. 47 wakeup frame 3 byte mask 2 register (0x68 ? 0x69): wf3bm2 .............................................................................. 47 wakeup frame 3 byte mask 3 register (0x6a ? 0x6b): wf3bm3 .............................................................................. 47 0x6c ? 0x6f: reserved ................................................................................................................................................ 47 transmit control register (0x70 ? 0x71): txcr .......................................................................................................... 48 transmit status register (0x72 ? 0x73) : txsr ........................................................................................................... 49 receive control register 1 (0x74 ? 0x75): rxcr1 ..................................................................................................... 49 receive control register 2 (0x76 ? 0x77): rxcr2 ..................................................................................................... 50 txq memory information register (0x78 ? 0x79): txmir .......................................................................................... 51 0x7a ? 0x7b: reserved ................................................................................................................................................ 51 receive frame header status register (0x7c ? 0x7d): rxfhsr ............................................................................. 51 receive frame header byte count register (0x7e ? 0x7f): rxfhbcr .................................................................... 52 txq comm and register (0x80 ? 0x81): txqcr ........................................................................................................ 52 rxq command register (0x82 ? 0x83): rxqcr ........................................................................................................ 53 tx frame data pointer register (0x84 ? 0x85): txfdpr .......................................................................................... 54 rx frame data pointer register (0x86 ? 0x87): rxfdpr .......................................................................................... 54 0x88 ? 0x8b: reserved ................................................................................................................................................ 55 rx duration timer threshold register (0x8c ? 0x8d): rxdttr ............................................................................... 55 rx data byte count threshold regist er (0x8e ? 0x8f): rxdbctr .......................................................................... 55 interrupt enable register (0x90 ? 0x91): ier .............................................................................................................. 55 interrupt status register (0x92 ? 0x93): isr ............................................................................................................... 56 0x94 ? 0x9b: reserved ................................................................................................................................................ 57 rx frame count & threshold register (0x9c ? 0x9d): rxfctr ............................................................................... 57 tx next total frames size register (0x9e ? 0x9f): txntfsr ................................................................................. 57 mac address hash table register 0 (0xa0 ? 0xa1): mahtr0 .................................................................................. 58 mac address hash table register 1 (0xa2 ? 0xa3): mahtr1 .................................................................................. 58 mac address hash table register 2 (0xa4 ? 0xa5): mahtr2 .................................................................................. 58 mac address hash table register 3 (0xa6 ? 0xa7): mahtr3 .................................................................................. 58 0xa8 ? 0xaf: reserved ................................................................................................................................................ 58 flow control low watermark register (0xb0 ? 0xb1): fclwr .................................................................................. 58 flow control high watermark register (0xb2 ? 0xb3): fchwr ................................................................................ 59 flow control overrun wa termark register (0xb4 ? 0xb5): fcowr ........................................................................... 59 0xb6 ? 0xbf: reserved ................................................................................................................................................ 59 chip id and enable register (0xc0 ? 0xc1): cider .................................................................................................. 59 0xc2 ? 0xc5: reserved ............................................................................................................................................... 59
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 6 revision 2. 2 chip glob al control register (0xc6 ? 0xc7): cgcr ................................................................................................... 59 indirect access control register (0xc8 ? 0xc9): iacr ............................................................................................... 60 0xca ? 0xcf: reserved ............................................................................................................................................... 60 indirect access data low register (0xd0 ? 0xd1): iadlr ......................................................................................... 60 indirect access data high register (0xd2 ? 0xd3): iadhr ........................................................................................ 60 power management event control register (0xd4 ? 0xd5): pmecr ......................................................................... 61 go - sleep and wake - up time register (0xd6 ? 0xd7): g swutr ............................................................................. 62 phy reset register (0xd8 ? 0xd9): phyrr .............................................................................................................. 62 0xda ? 0xdf: reserved ............................................................................................................................................... 62 0xe0 ? 0xe3: reserved ................................................................................................................................................ 62 phy 1 mii - register basic control register (0xe4 ? 0xe5): p1mbcr ......................................................................... 63 phy 1 mii - register basic status register (0xe6 ? 0xe7): p1mbsr .......................................................................... 64 phy 1 phy id low register (0xe8 ? 0xe9): phy1ilr ............................................................................................... 64 phy 1 phy id high register (0xea ? 0xeb): phy1ihr ............................................................................................. 64 phy 1 auto - negotiation advertisement register (0xec ? 0xed): p1anar ............................................................... 65 phy 1 auto - negotiation link partner ability register (0xee ? 0xef): p1anlpr ....................................................... 66 0xf0 ? 0xf3: reserved ................................................................................................................................................ 66 port 1 phy special control/status, linkmd (0xf4 ? 0xf5): p1sclmd ...................................................................... 66 port 1 control register (0xf6 ? 0xf7): p1cr .............................................................................................................. 67 port 1 status register (0xf8 ? 0xf9): p1sr ............................................................................................................... 68 0xfa ? 0xff: reserved ................................................................................................................................................ 69 mib (management information base) counters ................................................................................................................... 70 absolute maximum ratings .................................................................................................................................................. 73 operating ratings ................................................................................................................................................................. 73 electrical characteristics ....................................................................................................................................................... 73 timing specifications ............................................................................................................................................................ 75 asynchronous read and write timing (processor read and write) ............................................................................. 75 selection of isolation transformers ....................................................................................................................................... 80 selection of reference crystal .............................................................................................................................................. 80 package information ............................................................................................................................................................. 81 acronyms and gloss ary ........................................................................................................................................................ 82
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 7 revision 2. 2 list of figures figure 2. 48 - pin lqfp ........................................................................................................................................................... 9 figure 3. typical straight cable connection ........................................................................................................................ 18 figure 4. typical crossover cable connection .................................................................................................................... 19 figure 5. auto negotiation and parallel operation ............................................................................................................... 20 figure 6. ksz8851 - 16mll 8 - bit and 16 - bit data bus connections ........................................................................................ 25 figure 8 . host rx single or multiple frames in auto - dequeue flow diagram .................................................................... 30 figur e 9 . phy port 1 near - end (remote) and host far - end (local) loopback paths ......................................................... 32 figure 1 0 . asynchronous cycle ............................................................................................................................................ 75 figure 1 1 . auto negotiation timing ....................................................................................................................................... 76 figure 1 2 . reset timing ........................................................................................................................................................ 77 figure 1 3 . eeprom read cycle timing diagram .................................................................................................................. 78 figure 1 4 . recommended reset circuit .............................................................................................................................. 79 figure 1 5 . recom mended circuit for interfacing w ith cpu/fpga reset ............................................................................. 79
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 8 revision 2. 2 list of tables table 1. internal function blocks status ............................................................................................................................. 14 table 2. mdi/mdi - x pin definitions ....................................................................................................................................... 18 table 3. address filtering scheme ...................................................................................................................................... 23 table 4. bus interface unit signal grouping ........................................................................................................................ 24 table 5. frame format for tr ansmit queue ....................................................................................................................... 26 table 6. transmit control word bit fields ........................................................................................................................... 26 table 7. transmit byte count format .................................................................................................................................. 27 table 8. registers setting for transmit function block ..................................................................................................... 27 table 9. frame format for receive queue ........................................................................................................................ 29 table 10. registers setting for receive function block .................................................................................................... 29 tab le 11. ksz8851 - 16mll eeprom format ........................................................................................................................... 31 table 12. format of mib counters ....................................................................................................................................... 70 table 13. port 1 mib counters indirect memory offsets ...................................................................................................... 71 table 14. asynchronous cycle timing parameters ............................................................................................................. 75 table 15. auto negotiation timing parameters ................................................................................................................... 76 table 16. reset timing parameter s .................................................................................................................................... 77 table 17. eeprom timing parameters ................................................................................................................................. 78 table 18. transformer selection criteria ............................................................................................................................. 80 table 19. qualified single port magnetics ........................................................................................................................... 80 table 20. typical reference crystal characteristics ........................................................................................................... 80
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 9 revision 2. 2 pin configuration figure 2. 48 - pin lqfp
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 10 revision 2. 2 pin description pin number pin name type pin function 1 p1led1 ipu /o programmable led output to indicate port activity/status. led is on when output is low; led is off when output is high. port 1 led indicators 1 defined as follows: chip global control register: cgcr bit [9] 0 (default) 1 p1led1 100bt act p1led0 link/act link 1. link = led on; activity = led blink; link/act = led on/blink; speed = led on (100base - t); led off (10base-t) config mode: the p1led1 pull - up/pull - down valu e is latched as 16/8 - bit mode during power - up / reset. see ?strapping options? section for details 2 p1led0 opu 3 pme opu power management event (default active low): it is asserted (low or high depends on polarity set in pmecr register) when one of th e wake -on- lan events is detected by ksz8851 - 16mll. the ksz8851 - 16mll is requesting the system to wake up from low power mode. 4 intrn opu interrupt: an active low signal to host cpu to indicate an interrupt status bit is set, this pin need an external 4.7 k pull - up resistor. 5 rdn ipu read strobe not asynchronous read strobe, active low to indicate read cycle. 6 wrn ipu write strobe not asynchronous write strobe, active low to indicate write cycle. 7 d gnd gnd digital ground 8 vdd_co1.8 p 1.8v regulator output . this 1.8v output pin provides power to pins 14 ( vdd_a1.8 ) and 29 ( vdd_d1.8 ) for core vdd supply. if vdd_io is set for 1.8v then this pin should be left floating, pins 14 (vdd_a1.8) and 29 (vdd_d1.8) will be sourced by the external 1.8v supply that is tied to pins 27, 38 and 46 (vdd_io) with appropriate filtering. 9 eed_io ipd /o in/out data from/to external eeprom. config mode: the pull - up/pull - down value is latched as with/without eeprom during power - up / reset. see ?strapping options? section fo r details 10 eesk ipd /o eeprom serial clock a 4 s (obcr[1:0]=11 on - chip bus speed @ 25mhz) or 800ns (obcr[1:0]=00 on- chip bus speed @ 125mhz) serial output clock cycle to load configuration data from the serial eeprom. config mode: the pull - up/pull - down v alue is latched as big/little endian mode during power - up / reset. see ?strapping options? section for details 11 cmd ipd command type this command input decides the sd[15:0] shared data bus access information. when command input is low, the access of sh ared data bus is for data access in 16 - bit mode shared data bus sd[15:0] or in 8 - bit mode shared data bus sd[7:0]. when command input is high, the access of shared data bus is for address a[7:2] access at shared data bus sd[7:2], byte enable be[3:0] at sd[ 15:12] and the sd[11:8] is ? do not care ? in 16 - bit mode. it is for address a[7:0] access at sd[7:0] in 8- bit mode.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 11 revision 2. 2 pin description (continued) pin number pin name type pin function 12 csn ipu chip select not chip select for the shared data bus access en able, active low. 13 a gnd gnd analog ground 14 vdd_a1.8 p 1.8v analog power supply fro m vdd_co1.8 (pin 8) with appropriate filtering . if vdd_io is 1.8v, this pin must be supplied power from the same source as pins 27, 38 and 46 (vdd_io) with appropriate filtering. 15 eecs opd eeprom chip select this signal is used to select an external eeprom device. 16 rxp1 i/o port 1 physical receive signal (+ differential). 17 rxm1 i/o port 1 physical receive signal ( ? differential). 18 a gnd gnd analog ground. 19 txp1 i/o port 1 physical transmit signal (+ differential). 20 txm1 i/o port 1 physical transmit signal ( ? differential). 21 vdd_a3.3 p 3.3v analog vdd input power supply with well decoupling capacitors. 22 iset o set physical transmits output current. p ull - down this pin with a 3.01k 1% resistor to ground. 23 rstn ipu reset not hardware reset pin (active low). this reset input is required minimum of 10ms low after stable supply voltage 3.3v. 24 x1 i 25mhz crystal or oscillator clock connection. pins (x1 , x2) connect to a crystal. if an oscillator is used, x1 connects to a 3.3v tolerant oscillator and x2 is a no connect. note: clock requirement is 50ppm for either crystal or oscillator. 25 x2 o 26 d gnd gnd digital ground 27 vdd_io p 3.3v, 2.5v or 1.8 v digital vdd input power supply for io with well decoupling capacitors. 28 d gnd gnd digital ground 29 vdd_d1.8 p 1.8v digital power supply from vdd_co1.8 (pin 8) with appropriate filtering . if vdd_io is 1.8v, this pin must be supplied power from the sam e source as pins 27, 38 and 46 (vdd_io) with appropriate filtering. 30 sd15 i/o (pd ) shared data bus bit 15. data d15 access when cmd=0. byte enable 3 at double - word boundary access (be3, 4th byte enable and active high) in 16 - bit mode when cmd=1. this pi n must be tied to gnd in 8 - bit bus mode. 31 sd14 i/o (pd ) shared data bus bit 14. data d14 access when cmd=0. byte enable 2 at double - word boundary access (be2, 3rd byte enable and active high) in 16 - bit mode when cmd=1. this pin must be tied to gnd in 8 - bit bus mode. 32 sd13 i/o (pd ) shared data bus bit 13. data d13 access when cmd=0. byte enable 1 at double - word boundary access (be1, 2nd byte enable and active high) in 16 - bit mode when cmd=1. this pin must be tied to gnd in 8 - bit bus mode. 33 sd12 i/o (pd ) shared data bus bit 12. data d12 access when cmd=0. byte enable 0 at double - word boundary access (be0, 1st byte enable and active high) in 16 - bit mode when cmd=1. this pin must be tied to gnd in 8 - bit bus mode. 34 sd11 i/o (pd ) shared data bus bit 1 1. data d11 access when cmd=0. do not care when cmd=1. this pin must be tied to gnd in 8 - bit bus mode. 35 sd10 i/o (pd ) shared data bus bit 10. data d10 access when cmd=0. do not care when cmd=1. this pin must be tied to gnd in 8 - bit bus mode.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 12 revision 2. 2 pin descr iption (continued) pin number pin name type pin function 36 sd9 i/o (pd ) shared data bus bit 9. data d9 access when cmd=0. do not care when cmd=1. this pin must be tied to gnd in 8 - bit bus mode. 37 d gnd gnd digital ground 38 vdd_io p 3.3v, 2.5v or 1.8v digital vdd input power supply for io with well decoupling capacitors. 39 sd8 i/o (pd ) shared data bus bit 8. data d8 access when cmd=0. do not care when cmd=1. this pin must be tied to gnd in 8 - bit bus mode. 40 sd7 i/o (pd ) shared data bus bit 7. data d7 access when cmd=0. address a7 access when cmd=1. 41 sd6 i/o (pd ) shared data bus bit 6. data d6 access when cmd=0. address a6 access when cmd=1. 42 sd5 i/o (pd ) shared data bus bit 5. data d5 access when cmd=0. address a5 access when cmd=1. 43 sd4 i/o (pd ) shared data bus bit 4. data d4 access when cmd=0. address a4 access when cmd=1. 44 sd3 i/o (pd ) shared data bus bit 3. data d3 access when cmd=0. address a3 access when cmd=1. 45 sd2 i/o (pd ) shared data bus bit 2. data d2 access when cmd=0. addre ss a2 access when cmd=1. 46 vdd_io p 3.3v, 2.5v or 1.8v digital vdd input power supply for io with well decoupling capacitors. 47 sd1 i/o (pd ) shared data bus bit 1. data d1 access when cmd=0. in 8 - bit mode, this is address a1 access when cmd=1. in 16 -bi t mode, this is ? do not care ? when cmd=1. 48 sd0 i/o (pd ) shared data bus bit 0. data d0 access when cmd=0. in 8 - bit mode, this is address a0 access when cmd=1. in 16 - bit mode, this is ? do not care ? when cmd=1. legend: p = power supply gnd = ground i/o = bi - directional i = input o = output. ipd = input with internal pull - down (58k 30%). ipu = input with internal pull - up (58k 30%). opd = output with internal pull - down (58k 30%). opu = output with internal pull - up (58k 30%). ipu /o = input with intern al pull - up (58k 30%) during power - up/reset; output pin otherwise. ipd /o = input with internal pull - down (58k 30%) during power - up/reset; output pin otherwise. i/o ( pd ) = input/output with internal pull - down (58k 30%).
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 13 revision 2. 2 pin for strap - in options pin numb er pin name type pin function 1 p1led1 ipu /o 8 or 16 - bit bus mode select during power - up / reset: nc or pull - up (default ) = 16 - bit bus pull - down = 8- bit bus this pin value is also latched into register ccr, bit 6/7. 9 eed_io ipd /o eeprom select during p ower - up / reset: pull - up = eeprom present nc or pull - down (default ) = eeprom not present this pin value is latched into register ccr, bit 9. 10 eesk ipd /o endian mode select during power - up / reset: pull - up = big endian nc or pull - down (default) = littl e endian this pin value is latched into register ccr, bit 10. when this pin is no connect or tied to gnd , the bit 11 (endian mode selection) in rxfdpr register can be used to program either little (bit11=0 default ) endian mode or big (bit11=1) endian mode. note: ipu /o = input with internal pull - up (58k 30%) during power - up/reset; output pin otherwise. ipd /o = input with internal pull - down (58k 30%) during power - up/reset; output pin otherwise. pin strap - ins are latched during power - up or reset.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 14 revision 2. 2 functional description the ksz8851 - 16mll is a single - chip fast ethernet mac/phy controller consisting of a 10/100 physical layer transceiver (phy), a mac, and a bus interface unit (biu) that controls the ksz8851 - 16mll via an 8 - bit or 16 - bit hos t bus interface. the ksz8851 - 16mll is fully compliant to ieee802.3u standards. functional overview power management the ksz8851 - 16mll supports enhanced power management feature in low power state with energy detection to ensure low - power dissipat ion durin g device idle periods. there are four operation modes under the power management function which is controlled by two bits in pmecr (0xd4) register as shown below: pmecr[1:0] = 00 normal operation mode pmecr[1:0] = 01 energy detect mode pmecr[1:0] = 10 soft power - down mode pmecr[1:0] = 11 power - saving mode table 1 indicates all internal function blocks status under four different power management operation modes. ksz8851 - 16mll function blocks power management operation modes normal mode power - saving mode energy detect mode soft power - down mode internal pll clock enabled enabled disabled disabled tx/rx phy enabled rx unused block disabled energy detect at rx disabled mac enabled enabled disabled disabled host interface enabled enabled disabled disabled table 1. internal function blocks status normal operation mode this is the default setting bit[1:0]=00 in pmecr register after the chip power - up or hardware reset (pin 67). when ksz8851 - 16mll is in this normal operation mode, all pll clocks are running, p hy and mac are on and the host interface is ready for cpu read or write. during the normal operation mode, the host cpu can set the bit[1:0] in pmecr register to transit the current normal operation mode to any one of the other three power management oper ation modes. energy detect mode the energy detect mode provides a mechanism to save more power than in the normal operation mode when the ksz8851 - 16mll is not connected to an active link partner. for example, if cable is not present or it is connected to a powered down partner, the ksz8851 - 16mll can automatically enter to the low power state in energy detect mode. once activity resumes due to plugging a cable or attempting by the far end to establish link, the ksz8851 - 16mll can automatically power up to nor mal power state in energy detect mode. energy detect mode consists of two states, normal power state and low power state. while in low power state, the ksz8851 - 16mll reduces power consumption by disabling all circuitry except the energy detect circuitry of the receiver. the energy detect mode is entered by setting bit[1:0]=01 in pmecr register. when the ksz8851 - 16mll is in this mode, it will monitor the cable energy. if there is no energy on the cable for a time longer than pre - configured value at bit[7:0] go - sleep time in gswutr register, ksz8851 - 16mll will go into a low power state. when ksz8851 - 16mll is in low power state, it will keep monitoring the cable energy. once the energy is detected from the cable and is continuously presented for a time longer t han pre - configured value at bit[15:8] wake - up time in gswutr register, the ksz8851 - 16mll will enter either the normal power state if the auto - wakeup enable bit[7] is set in pmecr register or the normal operation mode if both auto - wakeup enable bit[7] and w akeup to normal operation mode bit[6] are set in pmecr register.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 15 revision 2. 2 the ksz8851 - 16mll will also assert pme output pin if the corresponding enable bit[8] is set in pmecr (0xd4) register or generate interrupt to signal an energy detect event occurred if the co rresponding enable bit[2] is set in ier (0x90) register. once the power management unit detects the pme output asserted or interrupt active, it will power up the host cpu and issue a wakeup command which is a read cycle to read the globe reset register (gr r at 0x26) to wake up the ksz8851 - 16mll from the low power state to the normal power state in case the auto - wakeup enable bit[7] is disabled. when ksz8851 - 16mll is at normal power state, it is able to transmit or receive packet from the cable. soft power - d own mode the soft power - down mode is entered by setting bit[1:0]=10 in pmecr register. when ksz8851 - 16mll is in this mode, all pll clocks are disabled, the phy and the mac are off, all internal registers value will not change, and the host interface is onl y used to wake - up this device from current soft power - down mode to normal operation mode. in order to go back the normal operation mode from this soft power - down mode , the only way to leave this mode is through a host wake - up command which the cpu issues t o read the globe reset register (grr at 0x26). power - saving mode the power - saving mode is entered when auto - negotiation mode is enabled, cable is disconnected, and by setting bit[1:0]=11 in pmecr register and bit [10]=1 in p1sclmd register. when ksz8851m i s in this mode, all pll clocks are enabled, mac is on, all internal registers value will not change, and host interface is ready for cpu read or write. in this mode, it mainly controls the phy transceiver on or off based on line status to achieve power sav ing. the phy remains transmitting and only turns off the unused receiver block. once activity resumes due to plugging a cable or attempting by the far end to establish link, the ksz8851m can automatically enabled the phy power up to normal power state from power - saving mode . during this power - saving mode , the host cpu can program the bit[1:0] in pmecr register and set bit[10]=0 in p1sclmd register to transit the current power - saving mode to any one of the other three power management operation modes. wake - o n - lan wake - up frame events are used to wake the system whenever meaningful data is presented to the system over the network. examples of meaningful data include the reception of a magic packet, a management request from a remote administrator, or simply ne twork traffic directly targeted to the local system. in all of these instances, the network device is pre - programmed by the policy owner or other software with information on how to identify wake frames from other network traffic. the ksz8851 - 16mll control ler can be programmed to notify the host of the wake - up frame detection with the assertion of the interrupt signal (intrn) or assertion of the power management event signal (pme). a wake - up event is a request for hardware and/or software external to the ne twork device to put the system into a powered state (working). a wake - up signal is caused by: 1. detection of energy signal over a pre - configured value (bit 2 in isr register) 2. detection of a linkup in the network link state (bit 3 in isr register) 3. re ceipt of a magic packet (bit 4 in isr register) 4. receipt of a network wake - up frame (bit 5 in isr register) there are also other types of wake - up events that are not listed here as manufacturers may choose to implement these in their own way. detection o f energy the energy is detected from the cable and is continuously presented for a time longer than pre - configured value, especially when this energy change may impact the level at which the system should re - enter to the normal power state. detection of li nkup link status wake events are useful to indicate a linkup in the network?s connectivity status.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 16 revision 2. 2 wake - up packet wake - up packets are certain types of packets with specific crc values that a system recognizes as a ?wake up? frame. the ksz8851 - 16mll suppo rts up to four users defined wake - up frames as below: 1. wake - up frame 0 is defined in wakeup frame registers (0x30 ? 0x3b) and is enabled by bit 0 in wakeup frame control register (0x2a). 2. wake - up frame 1 is defined in wakeup frame registers (0x40 ? 0x4 b) and is enabled by bit 1 in wakeup frame control register (0x2a). 3. wake - up frame 2 is defined in wakeup frame registers (0x50 ? 0x5b) and is enabled by bit 2 in wakeup frame control register (0x2a). 4. wake - up frame 3 is defined in wakeup frame registe rs (0x60 ? 0x6b) and is enabled by bit 3 in wakeup frame control register (0x2a). magic packet? magic packet technology is used to remotely wake up a sleeping or powered off pc on a lan. this is accomplished by sending a specific packet of information, cal led a magic packet frame, to a node on the network. when a pc capable of receiving the specific frame goes to sleep, it enables the magic packet rx mode in the lan controller, and when the lan controller receives a magic packet frame, it will alert the sys tem to wake up. magic packet is a standard feature integrated into the ksz8851 - 16mll. the controller implements multiple advanced power - down modes including magic packet to conserve power and operate more efficiently. once the ksz8851 - 16mll has been put in to magic packet enable mode (wfcr[7]=1), it scans all incoming frames addressed to the node for a specific data sequence, which indicates to the controller this is a magic packet (mp) frame. a magic packet frame must also meet the basic requirements for th e lan technology chosen, such as source address (sa), destination address (da), which may be the receiving station?s ieee address or a multicast or broadcast address and crc. the specific sequence consists of 16 duplications of the ieee address of this nod e, with no breaks or interruptions. this sequence can be located anywhere within the packet, but must be preceded by a synchronization stream. the synchronization stream allows the scanning state machine to be much simpler. the synchronization stream is de fined as 6 bytes of ffh. the device will also accept a broadcast frame, as long as the 16 duplications of the ieee address match the address of the machine to be awakened. example: if the ieee address for a particular node on a network is 11h 22h, 33h, 44h , 55h, 66h, the lan controller would be scanning for the data sequence (assuming an ethernet frame): destination source ? misc - ff ff ff ff ff ff - 11 22 33 44 55 66 - 11 22 33 44 55 66 - 11 22 33 44 55 66 - 11 22 33 44 55 66 - 11 22 33 44 55 66 - 11 2 2 33 44 55 66 - 11 22 33 44 55 66 - 11 22 33 44 55 66 - 11 22 33 44 55 66 - 11 22 33 44 55 66 - 11 22 33 44 55 66 - 11 22 33 44 55 66 - 11 22 33 44 55 66 - 11 22 33 44 55 66 - 11 22 33 44 55 66 - 11 22 33 44 55 66 - misc - crc. there are no further restrict ions on a magic packet frame. for instance, the sequence could be in a tcp/ip packet or an ipx packet. the frame may be bridged or routed across the network without affecting its ability to wake - up a node at the frame?s destination. if the lan controller s cans a frame and does not find the specific sequence shown above, it discards the frame and takes no further action. if the ksz8851 - 16mll controller detects the data sequence, however, it then alerts the pc?s power management circuitry (assert the pme pin) to wake up the system.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 17 revision 2. 2 physical layer transceiver (phy) 100base - tx transmit the 100base - tx transmit function performs parallel - to - serial conversion, 4b/5b coding, scrambling, nrz - to - nrzi conversion, and mlt3 encoding and transmission. the circuitry st arts with a parallel - to - serial conversion, which converts the mii data from the mac into a 125mhz serial bit stream. the data and control stream is then converted into 4b/5b coding, followed by a scrambler. the serialized data is further converted from nrz - to - nrzi format, and then transmitted in mlt3 current output. an external 3.01k ? (1%) resistor for the 1:1 transformer ratio sets the output current. the output signal has a typical rise/fall time of 4ns and complies with the ansi tp - pmd standard regarding amplitude balance, overshoot, and timing jitter. the wave - shaped 10base - t output driver is also incorporated into the 100base - tx driver. 100base - tx receive the 100base - tx receiver function performs adaptive equalization, dc restoration, mlt3 - to - nrzi conve rsion, data and clock recovery, nrzi - to - nrz conversion, de - scrambling, 4b/5b decoding, and serial - to - parallel conversion. the receiving side starts with the equalization filter to compensate for inter - symbol interference (isi) over the twisted pair cable. since the amplitude loss and phase distortion is a function of the cable length, the equalizer has to adjust its characteristics to optimize performance. in this design, the variable equalizer makes an initial estimation based on comparisons of incoming s ignal strength against some known cable characteristics, and then tunes itself for optimization. this is an ongoing process and self - adjusts against environmental changes such as temperature variations. next, the equalized signal goes through a dc restorat ion and data conversion block. the dc restoration circuit is used to compensate for the effect of baseline wander and to improve the dynamic range. the differential data conversion circuit converts the mlt3 format back to nrzi. the slicing threshold is als o adaptive. the clock recovery circuit extracts the 125 mhz clock from the edges of the nrzi signal. this recovered clock is then used to convert the nrzi signal into the nrz format. this signal is sent through the de - scrambler followed by the 4b/5b decode r. finally, the nrz serial data is converted to an mii format and provided as the input data to the mac. pll clock synthesizer (recovery) the internal pll clock synthesizer can generate either 125mhz, 62.5mhz, 41.66mhz, or 25mhz clocks by setting the on - ch ip bus control register (0x20) for ksz8851 - 16mll system timing. these internal clocks are generated from an external 25mhz crystal or oscillator. scrambler/de - scrambler (100base - tx only) the purpose of the scrambler is to spread the power spectrum of the s ignal to reduce electromagnetic interference (emi) and baseline wander. transmitted data is scrambled through the use of an 11 - bit wide linear feedback shift register (lfsr). the scrambler generates a 2047 - bit non - repetitive sequence. then the receiver de - scrambles the incoming data stream using the same sequence as at the transmitter. 10base - t transmit the 10base - t driver is incorporated with the 100base - tx driver to allow for transmission using the same magnetics. they are internally wave - shaped and pre - emphasized into outputs with typical 2.4v amplitude. the harmonic contents are at least 27db below the fundamental frequency when driven by an all - ones manchester - encoded signal. 10base - t receive on the receive side, input buffers and level detecting squel ch circuits are employed. a differential input receiver circuit and a phase - locked loop (pll) perform the decoding function. the manchester - encoded data stream is separated into clock signal and nrz data. a squelch circuit rejects signals with levels less than 400mv or with short pulse widths to prevent noise at the rxp1 or rxm1 input from falsely triggering the decoder. when the input exceeds the squelch limit, the pll locks onto the incoming signal and the ksz8851 - 16mll decodes a data frame. the receiver clock is maintained active during idle periods in between data reception.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 18 revision 2. 2 mdi/mdi - x auto crossover to eliminate the need for crossover cables between similar devices, the ksz8851 - 16mll supports hp - auto mdi/mdi - x and ieee 802.3u standard mdi/mdi - x auto cr ossover. hp - auto mdi/mdi - x is the default. the auto - sense function detects remote transmit and receive pairs and correctly assigns the transmit and receive pairs for the ksz8851 - 16mll device. this feature is extremely useful when end users are unaware of c able types in addition to saving on an additional uplink configuration connection. the auto - crossover feature can be disabled through the port control registers. the ieee 802.3u standard mdi and mdi - x definitions are as below: mdi mdi -x rj45 pins signal s rj45 pins signals 1 td+ 1 rd+ 2 td - 2 rd- 3 rd+ 3 td+ 6 rd- 6 td - table 2. mdi/mdi - x pin definitions straight cable a straight cable connects an mdi device to an mdi - x device or an mdi - x device to an mdi device. the following diagram shows a typical straight cable connection between a network interface card (nic) and a switch, or hub (mdi - x). figure 3. typical straight cable connection
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 19 revision 2. 2 crossover cable a crossover cable connects an mdi device to another mdi device, or an mdi - x device to another m di - x device. the following diagram shows a typical crossover cable connection between two chips or hubs (two mdi - x devices). figure 4. typical crossover cable connection auto negotiation the ksz8851 - 16mll conforms to the auto negotiation protocol as des cribed by the 802.3 committee to allow the port to operate at either 10base - t or 100base - tx. auto negotiation allows unshielded twisted pair (utp) link partners to select the best common mode of operation. in auto negotiation, the link partners advertise c apabilities across the link to each other. if auto negotiation is not supported or the link partner to the ksz8851 - 16mll is forced to bypass auto negotiation, the mode is set by observing the signal at the receiver. this is known as parallel mode because w hile the transmitter is sending auto negotiation advertisements, the receiver is listening for advertisements or a fixed signal protocol.the auto negotiation link setup is shown in figure 5.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 20 revision 2. 2 figure 5. auto negotiation and parallel operation
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 21 revision 2. 2 linkmd ? c able diagnostics the ksz8851 - 16mll linkmd ? uses time domain reflectometry (tdr) to analyze the cabling plant for common cabling problems such as open circuits, short circuits, and impedance mismatches. linkmd ? works by sending a pulse of known amplitude a nd duration down the mdi and mdi - x pairs and then analyzes the shape of the reflected signal. timing the pulse duration gives an indication of the distance to the cabling fault with a maximum distance of 200m and an accuracy of 2m. internal circuitry disp lays the tdr information in a user - readable digital format in register p1sclmd[8:0]. note: cable diagnostics are only valid for copper connections ? fiber - optic operation is not supported. access linkmd ? is initiated by accessing register p1sclmd, the phy special control/status & linkmd ? register (0xf4). usage linkmd ? can be run at any time by ensuring that auto - mdix has been disabled. to disable auto - mdix, write a ?1? to p1cr[10] to enable manual control over the pair used to transmit the linkmd ? pulse. th e self - clearing cable diagnostic test enable bit, p1sclmd [12], is set to ?1? to start the test on this pair. when bit p1sclmd[12] returns to ?0?, the test is complete. the test result is returned in bits p1sclmd[14:13] and the distance is returned in bit s p1sclmd[8:0]. the cable diagnostic test results are as follows: 00 = valid test, normal condition 01 = valid test, open circuit in cable 10 = valid test, short circuit in cable 11 = invalid test, linkmd ? failed if p1sclmd[14:13]=11, this indicates an inv alid test, and occurs when the ksz8851 - 16mll is unable to shut down the link partner. in this instance, the test is not run, as it is not possible for the ksz8851 - 16mll to determine if the detected signal is a reflection of the signal generated or a signal from another source. cable distance can be approximated by the following formula: p1sclmd[8:0] x 0.4m for port 1 cable distance this constant may be calibrated for different cabling conditions, including cables with a velocity of propagation that varies s ignificantly from the norm. media access control (mac) operation the ksz8851 - 16mll strictly abides by ieee 802.3 standards to maximize compatibility. inter packet gap (ipg) if a frame is successfully transmitted, then the minimum 96 - bit time for ipg is mea sured between two consecutive packets. if the current packet is experiencing collisions, the minimum 96 - bit time for ipg is measured from carrier sense (crs) to the next transmit packet. back - off algorithm the ksz8851 - 16mll implements the ieee standard 802 .3 binary exponential back - off algorithm in half - duplex mode. after 16 collisions, the packet is dropped. late collision if a transmit packet experiences collisions after 512 bit times of the transmission, the packet is dropped. flow control the ksz8851 - 16 mll supports standard 802.3x flow control frames on both transmit and receive sides. on the receive side, if the ksz8851 - 16mll receives a pause control frame, the ksz8851 - 16mll will not transmit the next normal frame until the timer, specified in the pause control frame, expires. if another pause frame is received before the current timer expires, the timer will be update d with the new value in the second pause frame. during this period (while it is flow controlled), only flow control packets from the ksz88 51- 16mll are transmitted.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 22 revision 2. 2 on the transmit side, the ksz8851 - 16mll has intelligent and efficient ways to determine when to invoke flow control. the flow control is based on availability of the system resources. there are three programmable low watermark r egister fclwr (0xb0), high watermark register fchwr (0xb2) and overrun watermark register fcowr (0xb4) for flow control in rxq fifo. the ksz8851 - 16mll will send pause frame when the rxq buffer hit the high watermark level (default 3.072kbyte available) and stop pause frame when the rxq buffer hit the low watermark level (default 5.12kbyte available). the ksz8851 - 16mll will drop packet when the rxq buffer hit the overrun watermark level (default 256 - byte available). the ksz8851 - 16mll issues a flow control fr ame (xoff, or transmitter off), containing the maximum pause time defined in ieee standard 802.3x. once the resource is freed up, the ksz8851 - 16mll sends out the another flow control frame (xon, or transmitter on) with zero pause time to turn off the flow control (turn on transmission to the port). a hysteresis feature is provided to prevent the flow control mechanism from being constantly activated and deactivated. half - duplex backpressure a half - duplex backpressure option (non - ieee 802.3 standards) is als o provided. the activation and deactivation conditions are the same as in full - duplex mode. if backpressure is required, the ksz8851 - 16mll sends preambles to defer the other stations' transmission (carrier sense deference). to avoid jabber and excessive d eference (as defined in the 802.3 standard), after a certain time, the ksz8851 - 16mll discontinues the carrier sense backpressure and then raises it again quickly. this short silent time (no carrier sense) prevents other stations from sending out packets th us keeping other stations in a carrier sense deferred state. the short silent time is about 4us and repeat every 1.64ms in the backpressure jam patter for 10base - t. if the port has packets to send during a backpressure situation, the carrier sense type bac kpressure is interrupted and those packets are transmitted instead. if there are no additional packets to send, carrier sense type backpressure is reactivated again until chip resources free up. if a collision occurs, the binary exponential back - off algori thm is skipped and carrier sense is generated immediately, thus reducing the chance of further collision and carrier sense is maintained to prevent packet reception. address filtering function the ksz8851 - 16mll supports 11 different address filtering sche mes as shown in the following table 3. the ethernet destination address (da) field inside the packet is the first 6 - byte field which uses to compare with either the host mac address registers (0x10 ? 0x15) or the mac address hash table registers (0xa0 ? 0x a7) for address filtering operation. the first bit (bit 40) of the destination address (da) in the ethernet packet decides whether this is a physical address if b it 40 is ?0? or a multicast address if bit 40 is ?1?.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 23 revision 2. 2 item address filtering mode receive c ontrol register (0x74 ? 0x75): rxcr1 description rx all (bit 4) rx inverse (bit 1) rx physical address (bit 11) rx multicast address (bit 8) 1 perfect 0 0 1 1 all rx frames are passed only if the da exactly matches the mac address in marl, marm and marh registers. 2 inverse perfect 0 1 1 1 all rx frames are passed if the da is not matching the mac address in marl, marm and marh registers. 3 hash only 0 0 0 0 all rx frames with either multicast or physical destination address are filtering against t he mac address hash table. 4 inverse hash only 0 1 0 0 all rx frames with either multicast or physical destination address are filtering not against the mac address hash table. all rx frames which are filtering out at item 3 (hash only) only are passed in this mode. 5 hash perfect (default) 0 0 1 0 all rx frames are passed with physical address (da) matching the mac address and to enable receive multicast frames that pass the hash table when multicast address is matching the mac address hash table. 6 inv erse hash perfect 0 1 1 0 all rx frames which are filtering out at item 5 (hash perfect) only are passed in this mode. 7 promiscuous 1 1 0 0 all rx frames are passed without any conditions. 8 hash only with multicast address passed 1 0 0 0 all rx frames are passed with physical address (da) matching the mac address hash table and with multicast address without any conditions. 9 perfect with multicast address passed 1 0 1 1 all rx frames are passed with physical address (da) matching the mac address and w ith multicast address without any conditions. 10 hash only with physical address passed 1 0 1 0 all rx frames are passed with multicast address matching the mac address hash table and with physical address without any conditions. 11 perfect with physical address passed 1 0 0 1 all rx frames are passed with multicast address matching the mac address and with physical address without any conditions. notes: 1. bit 0 (rx enable), bit 5 (rx unicast enable) and bit 6 (rx multicast enable) must set to 1 in rx cr 1 register. 2. the ksz8851 - 16mll will discard frame with sa same as the mac address if bit[0] is set in rxcr2 register. table 3. address filtering scheme clock generator the x1 and x2 pins are connected to a 25mhz crystal. x1 can also serve as the co nnector to a 3.3v, 25mhz oscillator (as described in the pin description).
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 24 revision 2. 2 bus interface unit (biu) the biu host interface is a generic shared data bus interface, designed to communicate with embedded processors. no glue logic is required when it talks to various standard asynchronous buses and processors. supported transfers in terms of transfer type, the biu can support asynchronous transfer or sram - like slave mode. to support the data transfers, the biu provides a group of signals: shared data bus sd[1 5:0] for address, data and byte enable, command (cmd), chip select enable (csn), read (rdn), write (wrn) and interrupt (intrn). physical data bus size the biu supports an 8 - bit or 16 - bit host standard data bus. depending on the size of the physical data bus, the ksz8851 - 16mll can support 8 - bit or 16 - bit data transfers. for example, for a 16 - bit data bus mode, the ksz8851 - 16mll allows an 8 - bit and 16 - bit data transfer. for an 8 - bit data bus mode, the ksz8851 - 16mll only allows an 8 - bit data transfer. the k sz8851 - 16mll supports internal data byte - swap. this means that the system/host data bus hd[7:0] just connect to sd[7:0] for an 8 - bit data bus interface. for a 16 - bit data bus, the system/host data bus hd[15:8] and hd[7:0] only need to connect to sd[15:8] a nd sd[7:0] respectively. table 4 describes the biu signal grouping. signal type function sd[15:0] i/o shared data bus data d[15:0] - > sd[15:0] access when cmd=0. address a[7:2] - > sd[7:2] and byte enable be[3:0] - > sd[15:12] access when cmd=1 in 16- bit mode. address a[7:0] - > sd[7:0] only access when cmd=1 in 8 - bit mode (shared data bus sd[15:8] must be tied to low in 8- bit bus mode). cmd input command type this command input decides the sd[15:0] shared data bus access cycle information. csn input chip select enable chip enable asserted (low) indicates that the shared data bus access is enabled. intrn output interrupt this pin is asserted to low when interrupt occurred. rdn input asynchronous read this pin is asserted to low during read cycle. wrn in put asynchronous write this pin is asserted to low during write cycle. table 4. bus interface unit signal grouping little and big endian support the ksz8851 - 16mll supports either little - or big - endian microprocessor. the external strap pin 10 (eesk) is us ed to select between two modes. the ksz8851 - 16mll operates in little endian when this pin is pulled - down or in big endian when this pin is pulled - up. when this pin 10 is no connect or tied to gnd , the bit 11 (endian mode selection) in rxfdpr register can b e used to program either little (bit11=0) endian mode or big (bit11=1) endian mode.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 25 revision 2. 2 asynchronous interface for asynchronous transfers, t he asynchronous interface uses rdn (read) and wrn (write) signal strobes for data latching. the host utilizes the risin g edge of rdn to latch read data when the host read data from ksz8851 - 16m ll . the ksz8851 - 16mll utilizes the internal pulse to latch write data based on the rxfdpr register bit 12 setting. all asynchronous transfers are either single - data or burst - data tran sfers. byte or word data bus access (transfers) is supported. the biu, however, provides flexible asynchronous interfacing to communicate with various applications and architectures. no additional address latch is required. the biu qualifies both csn (chip select) pin and wrn (write enable) pin to write the address a[7:2] and be[3:0] value (in 16 - bit mode) or address a[7:0] value (in 8 - bit mode) into ksz8851 - 16mll when cmd (command type) pin is high. the biu qualifies both csn (chip select) pin and rdn (rea d enable) or wrn (write enable) pin to read or write the sd[15:0] data value from or to ksz8851 - 16mll when cmd (command type) pin is low. i n order for software to read back the previous cmd register write value when cmd is ?1?, the biu qualifies both csn ( chip select) pin and rdn (read enable) pin to read the address a[7:2] and be[3:0] value (in 16 - bit mode) or address a[7:0] value (in 8 - bit mode) back from ksz8851 - 16mll when cmd (command type) pin is high. biu summation figure 6 shows the connection for di fferent data bus sizes. also refer to reference schematics in hardware design package. all of control and status registers in the ksz8851 - 16mll are accessed indirectly depending on cmd (command type) pin. the command sequence to access the specified contro l or status register is to write the register?s address (when cmd=1) then read or write this register data (when cmd=0). if both rdn and wrn signals in the system are only used for ksz8851 - 16mll, the csn pin can be forced to active low to simplify the syst em design. the cmd pin can be connected to host address line ha0 for 8 - bit bus mode or ha1 for 16 - bit bus mode. note: in 16 - bit bus mode, the sd1 bit must set to ?1? when cmd = 1 during dma access. figure 6. ksz8851 - 16mll 8 - bit and 16 - bit data bus connections cmd sd[7:0] 8-bit data bus hd [ 7 : 0 ] cmd 16 - bit data bus ha1 hd [ 7 : 0 ] hd [ 15 : 8 ] KSZ8851-16MLL gnd /rd /wr wrn rdn / cs csn irq intrn / rd /wr wrn rdn / cs csn irq intrn ksz 8851-16mll ha0 sd[15:8] sd[7:0] sd[15:8] p 1led1 p1led1 1 k ohm nc - - a2 a3 a4 a5 a6 a7 - - - - be0 be1 be2 be3 cmd=1 ?high? d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 cmd=0 ?low? 16 - bit bus mode pin 1 (p1led1) = nc or pull up during reset a0 a1 a2 a3 a4 a5 a6 a7 gnd gnd gnd gnd gnd gnd gnd gnd d0 d1 d2 d3 d4 d5 d6 d7 gnd gnd gnd gnd gnd gnd gnd gnd sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 sd10 sd11 sd12 sd13 sd14 sd15 cmd=1 ?high? cmd=0 ?low? shared data bus 8 - bit bus mode pin 1 (p1led1) = 1k pull down during reset - - a2 a3 a4 a5 a6 a7 - - - - be0 be1 be2 be3 cmd=1 ?high? d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 cmd=0 ?low? 16 - bit bus mode pin 1 (p1led1) = nc or pull up during reset a0 a1 a2 a3 a4 a5 a6 a7 gnd gnd gnd gnd gnd gnd gnd gnd d0 d1 d2 d3 d4 d5 d6 d7 gnd gnd gnd gnd gnd gnd gnd gnd sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 sd10 sd11 sd12 sd13 sd14 sd15 cmd=1 ?high? cmd=0 ?low? shared data bus 8 - bit bus mode pin 1 (p1led1) = 1k pull down during reset
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 26 revision 2. 2 queue management unit (qmu) the queue management unit (qmu) manages packet traffic between the mac/phy interface and the system host. it has built - in packet memory for receive and transmit functions called txq (transmit queue) and rxq (r eceive queue). each queue contains 12kb for rxq and 6kb for txq of memory with back - to - back, non - blocking frame transfer performance. it provides a group of control registers for system control, frame status registers for current packet transmit/receive st atus, and interrupts to inform the host of the real time tx/rx status. transmit queue (txq) frame format the frame format for the transmit queue is shown in the following table 5. the first word contains the control information for the frame to transmit. t he second word is used to specify the total number of bytes of the frame. the packet data follows. the packet data area holds the frame itself. it may or may not include the crc checksum depending upon whether hardware crc checksum generation is enabled in txcr (bit 1) register. multiple frames can be pipelined in the receive queue as long as there is enough queue memory, thus avoiding overrun. for each transmitted frame, the transmit status information for the frame is located in the txsr (0x72) register. packet memory address offset bit 15 bit 0 2 nd byte 1 st byte 0 control word (high byte and low byte need to swap in big - endian mode) 2 byte count (high byte and low byte need to swap in big - endian mode) 4 - up transmit packet data (maximum size is 2000) table 5. frame format for transmit queue since packets can be pipelined into the tx packet memory for transmit, the transmit status reflects the status of the packet that is currently being transferred on the mac interface, which may or may not be the last queued packet in the tx queue. the transmit control word is the first 16 - bit word in the tx packet memory, followed by a 16 - bit by te count. it must be word aligned. each control word corresponds to one tx packet. table 6 gives the transmit control word bit fields. bit description 15 txic transmit interrupt on completion when this bit is set, the ksz8851 - 16mll sets the transmit inte rrupt after the present frame has been transmitted. 14-6 reserved. 5 -0 txfid transmit frame id this field specifies the frame id that is used to identify the frame and its associated status information in the transmit status register. table 6. transmit control word bit fields
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 27 revision 2. 2 the transmit byte count specifies the total number of bytes to be transmitted from the txq. its format is given in table 7. bit description 15-11 reserved. 10-0 txbc transmit byte count transmit byte count. hardware uses the byt e count information to conserve the tx buffer memory for better utilization of the packet memory. note: the hardware behavior is unknown if an incorrect byte count information is written to this field. writing a 0 value to this field is not permitted. tab le 7. transmit byte count format the data area contains six bytes of destination address (da) followed by six bytes of source address (sa), followed by a variable - length number of bytes. on transmit, all bytes are provided by the cpu, including the source address. the ksz8851 - 16mll does not insert its own sa. the 802.3 frame length word (frame type in ethernet) is not interpreted by the ksz8851 - 16mll. it is treated transparently as data both for transmit operations. frame transmitting path operation in txq this section describes the typical register settings for transmitting packets from host processor to ksz8851 - 16mll with generic bus interface. user can use the default value for most of the transmit registers. the following table 8 describes all registers which need to be set and used for transmitting single frames. register name [bit](offset) description txcr[3:0](0x70) txcr[8:5](0x70) set transmit control function as below: set bit 3 to enable transmitting flow control. set bit 2 to enable transmitti ng padding. set bit 1 to enable transmitting crc. set bit 0 to enable transmitting block operation. set transmit checksum generation for icmp, udp, tcp and ip packet. txmir[12:0](0x78) the amount of free transmit memory available is represented in units o f byte. the txq memory (6 kbyte) is used for both frame payload and control word. txqcr[0](0x80) for single frame to transmit, set this bit 0 = 1(manual enqueue). the ksz8851 - 16mll will enable current tx frame prepared in the tx buffer is queued for trans mit, this is only transmit one frame at a time. note: this bit is self - clearing after the frame is finished transmitting. the software should wait for the bit to be cleared before setting up another new tx frame. txqcr[1](0x80) when this bit is written as 1, the ksz8851 - 16mll will generate interrupt (bit 6 in isr register) to cpu when txq memory is available based upon the total amount of txq space requested by cpu at txntfsr (0x9e) register. note: this bit is self - clearing after the frame is finished tran smitting. the software should wait for the bit to be cleared before set to 1 again rxqcr[3](0x82) set bit 3 to start dma access from host cpu either read (receive frame data) or write (transmit data frame) txfdpr[14](0x84) set bit 14 to enable txq trans mit frame data pointer register increments automatically on accesses to the data register. ier[14][6](0x90) set bit 14 to enable transmit interrupt in interrupt enable register set bit 6 to enable transmit space available interrupt in interrupt enable reg ister. isr[15:0](0x92) write 1 (0xffff) to clear all interrupt status bits after interrupt occurred in interrupt status register. txntfsr[15:0](0x9e) the host cpu is used to program the total amount of txq buffer space which is required for next total tr ansmit frames size in double - word count. table 8. registers setting for transmit function block
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 28 revision 2. 2 driver routine for transmit packet from host processor to ksz8851 - 16mll the transmit routine is called by the upper layer to transmit a contiguous block of da ta through the ethernet controller. it is user?s choice to decide how the transmit routine is implemented. if the ethernet controller encounters an error while transmitting the frame, it?s the user?s choice to decide whether the driver should attempt to re transmit the same frame or discard the data. the following figures 7 shows the step - by - step for single transmit packets from host processor to ksz8851 - 16mll. figure 7. host tx single frame in manual enqueue flow diagram host receives an ethernet pkt from upper layer and prepares transmit pkt data ( data , data _ length , frame id). the transmit queue frame format is shown in table 5 check if ksz 8851 m txq memory size is available for this transmit pkt ? ( read txmir reg ) write an ? 1 ? to rxqcr [3] reg to enable txq write access , then host starts write transmit data ( control word , byte count and pkt data ) to txq memory. this is moving transmit data from host to ksz 8851 m txq memory until whole pkt is finished write an ? 0 ? to rxqcr [3] reg to end txq write access write an ? 1 ? to txqcr [0 ] reg to issue a transmit command ( manual - enqueue ) to the txq . the txq will transmit this pkt data to the phy port option to read isr [14 ] reg, it indicates that the txq has completed to transmit at least one pkt to the phy port , then write ? 1 ? to clear this bit yes no write the total amount of txq buffer space which is required for next transmit frame size in double - word count in txntfsr [15 :0 ] register set bit 1 = 1 in txqcr register to enable the txq memory available monitor wait for interrupt and check if the bit 6 = 1 ( memory space available ) in isr register ? yes no
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 29 revision 2. 2 frame queue (rxq) frame format the frame format for the receive queue is shown in table 9. the first word contains the status information for the frame received. the second word is the total number of bytes of the rx frame. following that is the packet data area. the packet data area ho lds the frame itself. it includes the crc checksum. packet memory address offset bit 15 bit 0 2 nd byte 1 st byte 0 status word (high by te and low byte need to swap in big - endian mode. also see description in rxfhsr register) 2 byte count (high byte and low byte need to swap in big - endian mode. also see description in rxfhbcr register) 4 - up receive packet data (maximum size is 2000) t able 9. frame format for receive queue frame receiving path operation in rxq this section describes the typical register settings for receiving packets from ksz8851 - 16mll to host processor with generic bus interface. user can use the default value for most of the r eceive registers. table 10 describes all registers which need to be set and used for receiving single or multiple frames. register name[bit](offset) description rxcr1(0x74) rxcr2(0x76) set receive control function as below: set rxcr1[10] to ena ble receiving flow control. set rxcr1[0] to enable receiving block operation. set receive checksum check for icmp, udp, tcp and ip packet. set receive address filtering scheme as shown in the table 3. rxfhsr[15:0](0x7c) this register (read only) indicates the current received frame header status information. rxfhbcr[11:0](0x7e) this register (read only) indicates the current received frame header byte count information. rxqcr[12:3](0x82) set rxq control function as below: set bit 3 to start dma access fr om host cpu either read (receive frame data) or write (transmit data frame). set bit 4 to automatically enable rxq frame buffer dequeue. set bit 5 to enable rx frame count threshold and read bit 10 for status. set bit 6 to enable rx data byte count thresho ld and read bit 11 for status. set bit 7 to enable rx frame duration timer threshold and read bit 12 for status. set bit 9 enable rx ip header two - byte offset. rxfdpr[14](0x86) set bit 14 to enable rxq address register increments automatically on accesses to the data register. rxdttr[15:0](0x8c) to program received frame duration timer value. when rx frame duration in rxq exceeds this threshold in 1us interval count and bit 7 of rxqcr register is set to 1, the ksz8851 - 16mll will generate rx interrupt in i sr[13] and indicate the status in rxqcr[12]. rxdbctr[15:0](0x8e) to program received data byte count value. when the number of received bytes in rxq exceeds this threshold in byte count and bit 6 of rxqcr register is set to 1, the ksz8851 - 16mll will gener ate rx interrupt in isr[13] and indicate the status in rxqcr[11]. ier[13](0x90) set bit 13 to enable receive interrupt in interrupt enable register. isr[15:0](0x92) write 1 (0xffff) to clear all interrupt status bits after interrupt occurred in interrupt status register. rxfctr[15:8](0x9c) rx frame count read only. to indicate the total received frame in rxq frame buffer when receive interrupt (bit 13 in isr) occurred. rxfctr[7:0](0x9c) to program received frame count value. when the number of received frames in rxq exceeds or equals to this threshold value and bit 5 of rxqcr register is set to 1, the ksz8851 - 16mll will generate rx interrupt in isr[13] and indicate the status in rxqcr[10]. table 10. registers setting for receive function block
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 30 revision 2. 2 driver r outine for receive packet from ksz8851 - 16mll to host processor the software driver receives data packet frames from the ksz8851 - 16mll device either as a result of polling or an interrupt based service. when an interrupt is received, the os invokes the inte rrupt service routine that is in the interrupt vector table. if your system has os support, to minimize interrupt lockout time, the interrupt service routine should handle at interrupt level only those tasks that require minimum execution time, such as err or checking or device status change. the routine should queue all the time - consuming work to transfer the packet from the ksz8851 - 16mll rxq into system memory at task level. the following figure 8 shows the step - by - step for receive packets from ksz8851 - 16m ll to host processor. note: each dma read operation from the host cpu to read rxq frame buffer, the first read data (byte in 8 - bit bus mode, word in 16 - bit bus mode and double word in 32 - bit bus mode) is dummy data and must be discarded by host cpu. after ward, host cpu must read each frame data to align with double word boundary at end. for example, the host cpu has to read up to 68 bytes if received frame is 65 bytes. figure 8 . host rx single or multiple frames in auto - dequeue flow diagram to program rx frame count threshold in rxfctr , rx data byte count threshold in rxdbctr or rx frame duration timer threshold in rxdttr . enable all thresholds bits in rxqcr [5:7]. set bit 4 in rxqcr to enable rxq frame buffer auto-dequeue enable rx interrupt in ier [13] is rx interrupt status bit set in isr[13] when interrupt asserted ? rx interrupt source can be read from bits in rxqcr[10:12]. mask out further rx interrupt by set bit 13 to 0 in ier and clear rx interrupt status by write 1 to bit 13 in isr. read total rx frame count in rxfctr and read rx frame header status in rxfhsr and byte count in rxfhbcr . write 0x000 to rxfdpr[10:0] to clear rx frame pointer write an ?1? to rxqcr[3] reg to enable rxq read access, the host cpu starts read frame data from rxq buffer. write an ?0? to rxqcr[3] reg to end rxq read access yes is all rx frames read? no yes no
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 31 revision 2. 2 in order to rea d received frames from rxq without error, t he software driver must use following steps : when receive interrupt occurred and software driver writes ?1? to clear the rx interrupt in isr register ; the ksz8851 will update receive frame counter (rxfctr) registe r for this interrupt. when software driver reads back receive frame count (rxfctr) register; the ksz8851 will update both receive frame header status and byte count registers (rxfhsr/rxfhbcr). when software driver reads back both receive frame header statu s and byte count registers (rxfhsr/rxfhbcr); the ksz8851 will update next receive frame header status and byte count registers (rxfhsr/rxfhbcr). eeprom interface it is optional in the ksz8851 - 16mll to use an external eeprom. the eed_io (pin 9) must be pull ed high to use external eeprom otherwise this pin pulled low or floating without eeprom. an external serial eeprom with a standard microwire bus interface is used for non - volatile storage of information such as the host mac address. the ksz8851 - 16mll can d etect if the eeprom is a 1kb (93c46) or 4kb (93c66) eeprom device (the 93c46 and the 93c66 are typical eeprom devices). the eeprom must be organized as 16 - bit mode. if the eed_io pin is pulled high, then the ksz8851 - 16mll performs an automatic read of the external eeprom words 0h to 3h after the de - assertion of reset. the eeprom values are placed in certain host - accessible registers. eeprom read/write functions can also be performed by software read/writes to the eepcr (0x22) registers. the ksz8851 - 16mll ee prom format is given in table 11. word 15 8 7 0 0h reserved 1h host mac address byte 2 host mac address byte 1 2h host mac address byte 4 host mac address byte 3 3h host mac address byte 6 host mac address byte 5 4h ? 6h reserved 7h - 3fh not used for ksz8851 - 16mll (available for user to use) table 11. ksz8851 - 16mll eeprom format loopback support the ksz8851 - 16mll provides two loopback modes, one is near - end (re mote) loopback to support for remote diagnostic of failure at line side, and the other is far - end (local) loopback to support for local diagnostic of failure at host side. in loopback mode, the speed at the phy port will be set to 100base - tx full - duplex mo de. near - end (remote) loopback near - end (remote) loopback is conducted at phy port 1 of the ksz8851 - 16mll. the loopback path starts at the phy port?s receive inputs (rxp1/rxm1), wraps around at the same phy port?s pmd/pma, and ends at the phy port?s transm it outputs (txp1/txm1). bit [9] of register p1sclmd (0xf4) is used to enable near - end loopback. the ports 1 near - end loopback path is illustrated in the following figure 9 . far - end (local) loopback far - end (local) loopback is conducted at host of the ksz88 51- 16mll. the loopback path starts at the host port?s transmit inputs (tx data), wraps around at the phy port?s pmd/pma, and ends at the host port?s receive outputs (rx data) bit [14] of register p1mbcr (0xe4) is used to enable far - end loopback at host sid e. the host far - end loopback path is illustrated in figure 9 .
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 32 revision 2. 2 figure 9 . phy port 1 near - end (remote) and host far - end (local) loopback paths
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 33 revision 2. 2 cpu interface i/o registers the ksz8851 - 16mll provides an sram - like asynchronous bus interface for the cpu t o access its internal i/o registers. i/o registers serve as the address that the microprocessor uses when communicating with the device. this is used for configuring operational settings, reading or writing control, status information, and transferring pac kets. the ksz8851 - 16mll can be programmed to interface with either big - endian or little - endian processor. i/o registers the following i/o space mapping tables apply to 8 or 16 - bit bus interface. depending upon the bus mode selected, each i/o access can be performed the following operations: in 8 - bit bus mode, there are 256 address locations which is based on sd[7:0] for address when cmd=1. the sd[7:0] is for data when cmd=0. in 16 - bit bus mode, there are 64 address locations which is based on sd[7:2] ([1:0] is ? do not care ?) for address and sd[15:12] for byte enable be[3:0] (either one byte or two bytes) when cmd=1. the sd[15:0] is for data when cmd=0. internal i/o registers space mapping i/o register offset location register name default value description 16- bit 8 - bit 0x00 - 0x01 0x00 0x01 reserved do not care none 0x02 - 0x03 0x02 0x03 0x04 - 0x05 0x04 0x05 reserved do not care none 0x06 - 0x07 0x06 0x07 0x08 - 0x09 0x08 0x09 ccr read only chip configuration register [ 7:0] chip configuration register [15:8] 0x0a - 0x0b 0x0a 0x0b reserved do not care none 0x0c - 0x0d 0x0c 0x0d reserved do not care none 0x0e - 0x0f 0x0e 0x0f 0x10 - 0x11 0x10 0x11 marl - mac address register low [7:0] mac address registe r low [15:8] 0x12 - 0x13 0x12 0x13 marm - mac address register middle [7:0] mac address register middle [15:8] 0x14 - 0x15 0x14 0x15 marh - mac address register high [7:0] mac address register high [15:8] 0x16 - 0x17 0x16 0x17 reserved do not care none 0x18 - 0x19 0x18 0x19 reserved do not care none 0x1a - 0x1b 0x1a 0x1b 0x1c - 0x1d 0x1c 0x1d reserved do not care none 0x1e - 0x1f 0x1e 0x1f
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 34 revision 2. 2 internal i/o registers space mapping (continued) i/o register offset location re gister name default value description 16 - bit 16 - bit 0x20 - 0x21 0x20 0x21 obcr 0x0000 on - chip bus control register [7:0] on - chip bus control register [15:8] 0x22 - 0x23 0x22 0x23 eepcr 0x0000 eeprom control register [7:0] eeprom control register [15: 8] 0x24 - 0x25 0x24 0x25 mbir 0x1010 memory bist info register [7:0] memory bist info register [15:8] 0x26 - 0x27 0x26 0x27 grr 0x0000 global reset register [7:0] global reset register [15:8] 0x28 - 0x29 0x28 0x29 reserved do not care none 0x2a - 0x2b 0x2a 0x2b wfcr 0x0000 wakeup frame control register [7:0] wakeup frame control register [15:8] 0x2c - 0x2d 0x2c 0x2d reserved do not care 0x2e - 0x2f 0x2e 0x2f 0x30 - 0x31 0x30 0x31 wf0crc0 0x0000 wakeup frame 0 crc0 register [7:0] wakeup frame 0 cr c0 register [15:8] 0x32 - 0x33 0x32 0x33 wf0crc1 0x0000 wakeup frame 0 crc1 register [7:0] wakeup frame 0 crc1 register [15:8] 0x34 - 0x35 0x34 0x35 wf0bm0 0x0000 wakeup frame 0 byte mask 0 register [7:0] wakeup frame 0 byte mask 0 register [15:8] 0x36 - 0x37 0x36 0x37 wf0bm1 0x0000 wakeup frame 0 byte mask 1 register [7:0] wakeup frame 0 byte mask 1 register [15:8] 0x38 - 0x39 0x38 0x39 wf0bm2 0x0000 wakeup frame 0 byte mask 2 register [7:0] wakeup frame 0 byte mask 2 register [15:8] 0x3a - 0x3b 0x3a 0x3b wf0bm3 0x0000 wakeup frame 0 byte mask 3 register [7:0] wakeup frame 0 byte mask 3 register [15:8] 0x3c - 0x3d 0x3c 0x3d reserved do not care none 0x3e - 0x3f 0x3e 0x3f 0x40 - 0x41 0x40 0x41 wf1crc0 0x0000 wak eup frame 1 crc0 register [7:0] wakeup frame 1 crc0 register [15:8] 0x42 - 0x43 0x42 0x43 wf1crc1 0x0000 wakeup frame 1 crc1 register [7:0] wakeup frame 1 crc1 register [15:8] 0x44 - 0x45 0x44 0x45 wf1bm0 0x0000 wakeup frame 1 byte mask 0 register [7:0] wakeup frame 1 byte mask 0 register [15:8] 0x46 - 0x47 0x46 0x47 wf1bm1 0x0000 wakeup frame 1 byte mask 1 register [7:0] wakeup frame 1 byte mask 1 register [15:8] 0x48 - 0x49 0x48 0x49 wf1bm2 0x0000 wakeup frame 1 byte mask 2 register [7:0] wakeup frame 1 byte mask 2 register [15:8] 0x4a - 0x4b 0x4a 0x4b wf1bm3 0x0000 wakeup frame 1 byte mask 3 register [7:0] wakeup frame 1 byte mask 3 register [15:8] 0x4c - 0x4d 0x4c 0x4d reserved do not care none
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 35 revision 2. 2 internal i/o registers space mapping (co ntinued) i/o register offset location register name default value description 16 - bit 16 - bit 0x4e - 0x4f 0x4e 0x4f 0x50 - 0x51 0x50 0x51 wf2crc0 0x0000 wakeup frame 2 crc0 register [7:0] wakeup frame 2 crc0 register [15:8] 0x52 - 0x53 0x52 0x53 wf2crc1 0x0000 wakeup frame 2 crc1 register [7:0] wakeup frame 2 crc1 register [15:8] 0x54 - 0x55 0x54 0x55 wf2bm0 0x0000 wakeup frame 2 byte mask 0 register [7:0] wakeup frame 2 byte mask 0 register [15:8] 0x56 - 0x57 0x56 0x57 wf2bm1 0x 0000 wakeup frame 2 byte mask 1 register [7:0] wakeup frame 2 byte mask 1 register [15:8] 0x58 - 0x59 0x58 0x59 wf2bm2 0x0000 wakeup frame 2 byte mask 2 register [7:0] wakeup frame 2 byte mask 2 register [15:8] 0x5a - 0x5b 0x5a 0x5b wf2bm3 0x0000 wakeup frame 2 byte mask 3 register [7:0] wakeup frame 2 byte mask 3 register [15:8] 0x5c - 0x5d 0x5c 0x5d reserved do not care none 0x5e - 0x5f 0x5e 0x5f 0x60 - 0x61 0x60 0x61 wf3crc0 0x0000 wakeup frame 3 crc0 register [7:0] wakeup frame 3 crc 0 register [15:8] 0x62 - 0x63 0x62 0x63 wf3crc1 0x0000 wakeup frame 3 crc1 register [7:0] wakeup frame 3 crc1 register [15:8] 0x64 - 0x65 0x64 0x65 wf3bm0 0x0000 wakeup frame 3 byte mask 0 register [7:0] wakeup frame 3 byte mask 0 register [15:8] 0x66 - 0x67 0x66 0x67 wf3bm1 0x0000 wakeup frame 3 byte mask 1 register [7:0] wakeup frame 3 byte mask 1 register [15:8] 0x68 - 0x69 0x68 0x69 wf3bm2 0x0000 wakeup frame 3 byte mask 2 register [7:0] wakeup frame 3 byte mask 2 register [15:8] 0x6a - 0x6b 0x6a 0 x6b wf3bm3 0x0000 wakeup frame 3 byte mask 3 register [7:0] wakeup frame 3 byte mask 3 register [15:8] 0x6c - 0x6d 0x6c 0x6d reserved do not care none 0x6e - 0x6f 0x6e 0x6f 0x70 - 0x71 0x70 0x71 txcr 0x0000 transmit control register [7:0] transmit control register [15:8] 0x72 - 0x73 0x72 0x73 txsr 0x0000 transmit status register [7:0] transmit status register [15:8] 0x74 - 0x75 0x74 0x75 rxcr1 0x0800 receive control register 1 [7:0] receive control register 1 [15:8] 0x76 - 0x77 0x76 0x7 7 rxcr2 0x0004 receive control register 2 [7:0] receive control register 2 [15:8] 0x78 - 0x79 0x78 0x79 txmir 0x0000 txq memory information register [7:0] txq memory information register [15:8] 0x7a - 0x7b 0x7a 0x7b reserved do not care none
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 36 revision 2. 2 internal i /o registers space mapping (continued) i/o register offset location register name default value description 16 - bit 16 - bit 0x7c - 0x7d 0x7c 0x7d rxfhsr 0x0000 receive frame header status register [7:0] receive frame header status register [15:8] 0x7e - 0x7f 0x7e 0x7f rxfhbcr 0x0000 receive frame header byte count register [7:0] receive frame header byte count register [15:8] 0x80 - 0x81 0x80 0x81 txqcr 0x0000 txq command register [7:0] txq command register [15:8] 0x82 - 0x83 0x82 0x83 rxqcr 0x0000 rx q command register [7:0] rxq command register [15:8] 0x84 - 0x85 0x84 0x85 txfdpr 0x0000 tx frame data pointer register [7:0] tx frame data pointer register [15:8] 0x86 - 0x87 0x86 0x87 rxfdpr 0x0000 rx frame data pointer register [7:0] rx frame data poi nter register [15:8] 0x88 - 0x89 0x88 0x89 reserved do not care none 0x8a - 0x8b 0x8a 0x8b 0x8c - 0x8d 0x8c 0x8d rxdttr 0x0000 rx duration timer threshold register [7:0] rx duration timer threshold register [15:8] 0x8e - 0x8f 0x8e 0x8f r xdbctr 0x0000 rx data byte count threshold register [7:0] rx data byte count threshold register [15:8] 0x90 - 0x91 0x90 0x91 ier 0x0000 interrupt enable register [7:0] interrupt enable register [15:8] 0x92 - 0x93 0x92 0x93 isr 0x0300 interrupt status reg ister [7:0] interrupt status register [15:8] 0x94 - 0x95 0x94 0x95 reserved do not care none 0x96 - 0x97 0x96 0x97 0x98 - 0x99 0x98 0x99 reserved do not care none 0x9a - 0x9b 0x9a 0x9b 0x9c - 0x9d 0x9c 0x9d rxfctr 0x0000 rx frame count & threshold register [7:0] rx frame count & threshold register [15:8] 0x9e - 0x9f 0x9e 0x9f txntfsr 0x0000 tx next total frames size register [7:0] tx next total frames size register [15:8] 0xa0 - 0xa1 0xa0 0xa1 mahtr0 0x0000 mac address h ash table register 0 [7:0] mac address hash table register 0 [15:8] 0xa2 - 0xa3 0xa2 0xa3 mahtr1 0x0000 mac address hash table register 1 [7:0] mac address hash table register 1 [15:8] 0xa4 - 0xa5 0xa4 0xa5 mahtr2 0x0000 mac address hash table register 2 [7:0] mac address hash table register 2 [15:8] 0xa6 - 0xa7 0xa6 0xa7 mahtr3 0x0000 mac address hash table register 3 [7:0] mac address hash table register 3 [15:8] 0xa8 - 0xa9 0xa8 0xa9 reserved do not care none 0xaa - 0xab 0xaa 0xab
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 37 revision 2. 2 i nternal i/o registers space mapping (continued) i/o register offset location register name default value description 16 - bit 16 - bit 0xac - 0xad 0xac 0xad reserved do not care none 0xae - 0xaf 0xae 0xaf 0xb0 - 0xb1 0xb0 0xb1 fclwr 0x050 0 flow control low watermark register [7:0] flow control low watermark register [15:8] 0xb2 - 0xb3 0xb2 0xb3 fchwr 0x0300 flow control high watermark register [7:0] flow control high watermark register [15:8] 0xb4 - 0xb5 0xb4 0xb5 fcowr 0x0040 flow contr ol overrun watermark register [7:0] flow control overrun watermark register [15:8] 0xb6 - 0xb7 0xb6 0xb7 reserved do not care none 0xb8 - 0xb9 0xb8 0xb9 reserved do not care none 0xba - 0xbb 0xba 0xbb 0xbc - 0xbd 0xbc 0xbd reserved do no t care none 0xbe - 0xbf 0xbe 0xbf 0xc0 - 0xc1 0xc0 0xc1 cider 0x887 x chip id and enable register [7:0] chip id and enable register [15:8] 0xc2 - 0xc3 0xc2 0xc3 reserved do not care none 0xc4 - 0xc5 0xc4 0xc5 reserved do not care none 0x c6 - 0xc7 0xc6 0xc7 cgcr 0x0835 chip global control register [7:0] chip global control register [15:8] 0xc8 - 0xc9 0xc8 0xc9 iacr 0x0000 indirect access control register [7:0] indirect access control register [15:8] 0xca - 0xcb 0xca 0xcb reserved do not care none 0xcc - 0xcd 0xcc 0xcd reserved do not care none 0xce - 0xcf 0xce 0xcf 0xd0 - 0xd1 0xd0 0xd1 iadlr 0x0000 indirect access data low register [7:0] indirect access data low register [15:8] 0xd2 - 0xd3 0xd2 0xd3 iadhr 0x0000 indire ct access data high register [7:0] indirect access data high register [15:8] 0xd4 - 0xd5 0xd4 0xd5 pmecr 0x0080 power management event control register [7:0] power management event control register [15:8] 0xd6 - 0xd7 0xd6 0xd7 gswutr 0x080c go - sleep & wa ke - up time register [7:0] go - sleep & wake- up time register [15:8] 0xd8 - 0xd9 0xd8 0xd9 phyrr 0x0000 phy reset register [7:0] phy reset register [15:8]
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 38 revision 2. 2 internal i/o registers space mapping (continued) i/o register offset location register name default v alue description 16 - bit 16 - bit 0xda - 0xdb 0xda 0xdb reserved do not care none 0xdc - 0xdd 0xdc 0xdd reserved do not care none 0xde - 0xdf 0xde 0xdf 0xe0 - 0xe1 0xe0 0xe1 reserved do not care none 0xe2 - 0xe3 0xe2 0xe3 0xe4 - 0xe5 0xe4 0xe5 p1mbcr 0x3120 phy 1 mii - register basic control register [7:0] phy 1 mii - register basic control register [15:8] 0xe6 - 0xe7 0xe6 0xe7 p1mbsr 0x7808 phy 1 mii - register basic status register [7:0] phy 1 mii - register basic status regi ster [15:8] 0xe8 - 0xe9 0xe8 0xe9 phy1ilr 0x1430 phy 1 phy id low register [7:0] phy 1 phy id low register [15:8] 0xea - 0xeb 0xea 0xeb phy1ihr 0x0022 phy 1 phy id high register [7:0] phy 1 phy id high register [15:8] 0xec - 0xed 0xec 0xed p1anar 0x05e1 phy 1 auto - negotiation advertisement register [7:0] phy 1 auto - negotiation advertisement register [15:8] 0xee - 0xef 0xee 0xef p1anlpr 0x0001 phy 1 auto - negotiation link partner ability register [7:0] phy 1 auto - negotiation link partner ability register [15:8] 0xf0 - 0xf1 0xf0 0xf1 reserved do not care none 0xf2 - 0xf3 0xf2 0xf3 0xf4 - 0xf5 0xf4 0xf5 p1sclmd 0x0000 port 1 phy special control/status, linkmd ? [7:0] port 1 phy special control/status, linkmd ? [15:8] 0xf6 - 0xf7 0x f6 0xf7 p1cr 0x00ff port 1 control register [7:0] port 1 control register [15:8] 0xf8 - 0xf9 0xf8 0xf9 p1sr 0x8080 port 1 status register [7:0] port 1 status register [15:8] 0xfa - 0xfb 0xfa 0xfb reserved do not care none 0xfc - 0xfd 0xfc 0xfd reserved do not care none 0xfe - 0xff 0xfe 0xff
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 39 revision 2. 2 register map: mac, phy and qmu do not write to bit values or to registers defined as reserved. man ipu lating reserved bits or registers causes unpredictable and often fatal results. if the user wants to write to these reserved bits, the user has to read back these reserved bits (ro or rw) first, then ?or? with the read value of the reserved bits and write back to these reserved bits. bit type definition ro = read only. wo = write only. rw = read/write. w1c = write 1 to clear (writing an ?1? to clear this bit). 0x00 ? 0x07: reserved chip configuration register (0x08 ? 0x09): ccr this register indicates the chip configuration mode based on strapping and bonding options bit default value r/w description 1 5 -11 - ro reserved . 10 - ro bus endian mode the eesk (pin 10) value is latched into this bit druing power - up/reset . 0: bus in big endian mode, 1: bus in little endian mode. 9 - ro eeprom presence the eed_io (pin 9) value is latched into this bit druing p ower - up/reset . 0: no external eeprom, 1: use external eeprom. 8 0 ro reserved . 7 - ro 8 - bit data bus width this bit value is loaded from p1led1 (pin 1) 0: not in 8 - bit bus mode operation, 1: in 8- bit bus mode operation. 6 - ro 16- bit data bus width this bit value is loaded from p1led1 (pin 1) 0: not in 16 - bit bus mode operation, 1: in 16 - bit bus mode operation. 5 0 ro reserved . 4 - ro shared data bus mode for data and address 0: data and a ddress bus are seperated . 1: data and address bus are shared . 3 0 ro reserved . 2 0 ro reserved . 1 - ro 48- pin chip package to indicate chip package is 48 - pin. 0: no, 1: yes . 0 0 ro reserved . 0x0a ? 0x0f: reserved
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 40 revision 2. 2 host mac address registers: marl, marm and marh these host mac address registers are loaded starti ng at word location 0x1 of the eeprom upon hardware reset. the software driver can read or write these registers value, but it will not modify the original host mac address value in the eeprom. these six bytes of host mac address in external eeprom are lo aded to these three registers as mapping below: marl[15:0] = eeprom 0x1(mac byte 2 and 1) marm[15:0] = eeprom 0x2(mac byte 4 and 3) marh[15:0] = eeprom 0x3(mac byte 6 and 5) the host mac address is used to define the individual destination address that the ksz8851 - 16mll responds to when receiving frames. network addresses are generally expressed in the form of 01:23:45:67:89:ab, where the bytes are received from left to right, and the bits within each byte are received from right to left (lsb to msb). for e xample, the actual transmitted and received bits are on the order of 10000000 11000100 10100010 11100110 10010001 11010101. these three registers value for host mac address 01:23:45:67:89:ab will be held as below: marl[15:0] = 0x89ab marm[15:0] = 0x4567 ma rh[15:0] = 0x0123 host mac address register low (0x10 ? 0x11): marl the following table shows the register bit fields for low word of host mac address. bit default value r/w description 15-0 - rw marl mac address low the least significant word of the mac address. host mac address register middle (0x12 ? 0x13): marm the following table shows the register bit fields for middle word of host mac address. bit default value r/w description 15-0 - rw marm mac address middle the middle word of the mac address. host mac address register high (0x14 ? 0x15): marh the following table shows the register bit fields for high word of host mac address. bit default value r/w description 15-0 - rw marh mac address high the most significant word of the mac address. 0x16 ? 0x1f: reserved
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 41 revision 2. 2 on - chip bus control register (0x20 ? 0x21): obcr this register controls the on - chip bus clock speed for the ksz8851 - 16mll. the default of the on - chip bus clock speed is 125mhz. when the external host cpu is running at a higher clock rate, the on - chip bus should be adjusted for the best performance. bit default value r/w description 15-7 - rw reserved . 6 0 rw output pin drive strength bi - directional or output pad drive strength selection. 0: 8 ma ; 1: 16 ma 5 -3 - rw reserved . 2 0 rw on -ch ip bus clock selection 0: 125mhz (default setting is divided by 1, bit[1:0]=00) 1: na (reserved) 1 -0 0x0 rw on - chip bus clock divider selection 00: divided by 1; 01: divided by 2; 10: divided by 3; 11: na (reserved). for example to contol the bus clock sp eed as below: if bit 2 = 0 and this value is set 00 to select 125 mhz. if bit 2 = 0 and this value is set 01 to select 62.5 mhz. eeprom control register (0x22 ? 0x23): eepcr to support an external eeprom, pulled - up the eed_io pin to high; otherwise, it is pulled - down to low. if an external eeprom is not used, the software programs the host mac address. if an eeprom is used in the design, the chip host mac address is loaded from the eeprom immediately after reset. the ksz8851 - 16mll allows the software to ac cess (read and write) the eeprom directly; that is, the eeprom access timing can be fully controlled by the software if the eeprom software access bit is set. bit default value r/w description 15-6 - ro reserved . 5 0 wo eesrwa eeprom software read or wri te access 0: software read enable to access eeprom when software access enabled (bit4=1) 1: software write enable to access eeprom when software access enabled (bit4=1). 4 0 rw eesa eeprom software access 1: enable software to access eeprom through bit 3 to bit 0. 0: disable software to access eeprom. 3 - ro eesb eeprom status bit data receive from eeprom. this bit directly reads the eed_io pin. 2 -0 0x0 rw eecb eeprom control bits bit 2: data transmit to eeprom. this bit directly controls the device?s ee d_io pin. bit 1: serial clock. this bit directly controls the device?s eesk pin. bit 0: chip select for eeprom. this bit directly controls the device?s eecs pin.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 42 revision 2. 2 memory bist info register (0x24 ? 0x25): mbir this register indicates the build - in self - tes t result for both tx and rx memories after power - up/reset. bit default value r/w description 15-13 0x0 ro reserved . 12 - ro txmbf tx memory bist test finish when set, it indicates the memory built in self test completion for the tx memory. 11 - ro txmbf a tx memory bist test fail when set, it indicates the tx memory built in self test has failed. 10-8 - ro txmbfc tx memory bist test fail count to indicate the tx memory built in self test failed count 7 -5 - ro reserved . 4 - ro rxmbf rx memory bist finis h when set, it indicates the memory built in self test completion for the rx memory. 3 - ro rxmbfa rx memory bist fail when set, it indicates the rx memory built in self test has failed. 2 -0 - ro rxmbfc rx memory bist test fail count to indicate the rx m emory built in self test failed count. global reset register (0x26 ? 0x27): grr this register controls the global and qmu reset functions with information programmed by the cpu. bit default value r/w description 15-2 0x0000 ro reserved . 1 0 rw qmu modul e soft reset 1: software reset is active to clear both txq and rxq memories. 0: software reset is inactive. qmu software reset will flush out all tx/rx packet data inside the txq and rxq memories and reset all qmu registers to default value. 0 0 rw globa l soft reset 1: software reset is active. 0: software reset is inactive. global software reset will affect phy, mac, qmu, dma, and the switch core, all registers value are set to default value. 0x28 ? 0x29: reserved
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 43 revision 2. 2 wakeup frame control register (0x2a ? 0x2b): wfcr this register holds control information programmed by the cpu to control the wake up frame function. bit default value r/w description 15-8 0x00 ro reserved . 7 0 rw mprxe magic packet rx enable when set, it enables the magic packet pattern d etection. when reset, the magic packet pattern detection is disabled. 6 -4 0x0 ro reserved . 3 0 rw wf3e wake up frame 3 enable when set, it enables the wake up frame 3 pattern detection. when reset, the wake up frame 3 pattern detection is disabled. 2 0 rw wf2e wake up frame 2 enable when set, it enables the wake up frame 2 pattern detection. when reset, the wake up frame 2 pattern detection is disabled. 1 0 rw wf1e wake up frame 1 enable when set, it enables the wake up frame 1 pattern detection. when r eset, the wake up frame 1 pattern detection is disabled. 0 0 rw wf0e wake up frame 0 enable when set, it enables the wake up frame 0 pattern detection. when reset, the wake up frame 0 pattern detection is disabled. 0x2c ? 0x2f: reserved wakeup frame 0 cr c0 register (0x30 ? 0x31): wf0crc0 this register contains the expected crc values of the wake up frame 0 pattern. the value of the crc calculated is based on the ieee 802.3 ethernet standard; it is taken over the bytes specified in the wake up byte mask r egisters. bit default value r/w description 15-0 0x0000 rw wf0crc0 wake up frame 0 crc (lower 16 bits) the expected crc value of a wake up frame 0 pattern. wakeup frame 0 crc1 register (0x32 ? 0x33): wf0crc1 this register contains the expected crc values of the wake up frame 0 pattern. the value of the crc calculated is based on the ieee 802.3 ethernet standard; it is taken over the bytes specified in the wake up byte mask registers. bit default value r/w description 15-0 0x0000 rw wf0crc1 wake up fram e 0 crc (upper 16 bits). the expected crc value of a wake up frame 0 pattern.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 44 revision 2. 2 wakeup frame 0 byte mask 0 register (0x34 ? 0x35): wf0bm0 this register contains the first 16 bytes mask values of the wake up frame 0 pattern. setting bit 0 selects the first byte of the wake up frame 0, setting bit 15 selects the 16th byte of the wake up frame 0. bit default value r/w description 15-0 0x0000 rw wf0bm0 wake up frame 0 byte mask 0 the first 16 bytes mask of a wake up frame 0 pattern. wakeup frame 0 byte mask 1 register (0x36 ? 0x37): wf0bm1 this register contains the next 16 bytes mask values of the wake up frame 0 pattern. setting bit 0 selects the 17th byte of the wake up frame 0. setting bit 15 selects the 32nd byte of the wake up frame 0. bit default val ue r/w description 15-0 0x0000 rw wf0bm1 wake up frame 0 byte mask 1. the next 16 bytes mask covering bytes 17 to 32 of a wake up frame 0 pattern. wakeup frame 0 byte mask 2 register (0x38 ? 0x39): wf0bm2 this register contains the next 16 bytes mask val ues of the wake up frame 0 pattern. setting bit 0 selects the 33rd byte of the wake up frame 0. setting bit 15 selects the 48th byte of the wake up frame 0. bit default value r/w description 15-0 0x0000 rw wf0bm2 wake - up frame 0 byte mask 2. the next 16 bytes mask covering bytes 33 to 48 of a wake - up frame 0 pattern. wakeup frame 0 byte mask 3 register (0x3a ? 0x3b): wf0bm3 this register contains the last 16 bytes mask values of the wake up frame 0 pattern. setting bit 0 selects the 49th byte of the wak e up frame 0. setting bit 15 selects the 64th byte of the wake up frame 0. bit default value r/w description 15-0 0x0000 rw wf0bm3 wake - up frame 0 byte mask 3. the last 16 bytes mask covering bytes 49 to 64 of a wake - up frame 0 pattern. 0x3c ? 0x3f: rese rved wakeup frame 1 crc0 register (0x40 ? 0x41): wf1crc0 this register contains the expected crc values of the wake up frame 1 pattern. the value of the crc calculated is based on the ieee 802.3 ethernet standard; it is taken over the bytes specified in t he wake up byte mask registers. bit default value r/w description 15-0 0x0000 rw wf1crc0 wake - up frame 1 crc (lower 16 bits). the expected crc value of a wake - up frame 1 pattern.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 45 revision 2. 2 wakeup frame 1 crc1 register (0x42 ? 0x43): wf1crc1 this register contain s the expected crc values of the wake up frame 1 pattern. the value of the crc calculated is based on the ieee 802.3 ethernet standard, it is taken over the bytes specified in the wake up byte mask registers. bit default value r/w description 15-0 0x0000 rw wf1crc1 wake - up frame 1 crc (upper 16 bits). the expected crc value of a wake - up frame 1 pattern. wakeup frame 1 byte mask 0 register (0x44 ? 0x45): wf1bm0 this register contains the first 16 bytes mask values of the wake up frame 1 pattern. setting b it 0 selects the first byte of the wake up frame 1, setting bit 15 selects the 16th byte of the wake up frame 1. bit default value r/w description 15-0 0x0000 rw wf1bm0 wake - up frame 1 byte mask 0. the first 16 bytes mask of a wake - up frame 1 pattern. w akeup frame 1 byte mask 1 register (0x46 ? 0x47): wf1bm1 this register contains the next 16 bytes mask values of the wake up frame 1 pattern. setting bit 0 selects the 17th byte of the wake up frame 1. setting bit 15 selects the 32nd byte of the wake up f rame 1. bit default value r/w description 15-0 0x0000 rw wf1bm1 wake - up frame 1 byte mask 1. the next 16 bytes mask covering bytes 17 to 32 of a wake - up frame 1 pattern. wakeup frame 1 byte mask 2 register (0x48 ? 0x49): wf1bm2 this register contains the next 16 bytes mask values of the wake up frame 1 pattern. setting bit 0 selects the 33rd byte of the wake up frame 1. setting bit 15 selects the 48th byte of the wake up frame 1. bit default value r/w description 15-0 0x0000 rw wf1bm2 wake - up frame 1 by te mask 2. the next 16 bytes mask covering bytes 33 to 48 of a wake - up frame 1 pattern. wakeup frame 1 byte mask 3 register (0x4a ? 0x4b): wf1bm3 this register contains the last 16 bytes mask values of the wake up frame 1 pattern. setting bit 0 selects th e 49th byte of the wake up frame 1. setting bit 15 selects the 64th byte of the wake up frame 1. bit default value r/w description 15-0 0x0000 rw wf1bm3 wake - up frame 1 byte mask 3. the last 16 bytes mask covering bytes 49 to 64 of a wake - up frame 1 patt ern. 0x4c ? 0x4f: reserved wakeup frame 2 crc0 register (0x50 ? 0x51): wf2crc0 this register contains the expected crc values of the wake up frame 2 pattern. the value of the crc calculated is based on the ieee 802.3 ethernet standard, it is taken over th e bytes specified in the wake up byte mask registers. bit default value r/w description 15-0 0x0000 rw wf2crc0 wake - up frame 2 crc (lower 16 bits). the expected crc value of a wake - up frame 2 pattern.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 46 revision 2. 2 wakeup frame 2 crc1 register (0x52 ? 0x53): wf2crc1 this register contains the expected crc values of the wake - up frame 2 pattern. the value of the crc calculated is based on the ieee 802.3 ethernet standard, it is taken over the bytes specified in the wake up byte mask registers. bit default value r/w des cription 15-0 0x0000 rw wf2crc1 wake - up frame 2 crc (upper 16 bits). the expected crc value of a wake - up frame 2 pattern. wakeup frame 2 byte mask 0 register (0x54 ? 0x55): wf2bm0 this register contains the first 16 bytes mask values of the wake up fram e 2 pattern. setting bit 0 selects the first byte of the wake up frame 2, setting bit 15 selects the 16th byte of the wake up frame 2. bit default value r/w description 15-0 0x0000 rw wf2bm0 wake - up frame 2 byte mask 0. the first 16 bytes mask of a wake - up frame 2 pattern. wakeup frame 2 byte mask 1 register (0x56 ? 0x57): wf2bm1 this register contains the next 16 bytes mask values of the wake up frame 2 pattern. setting bit 0 selects the 17th byte of the wake up frame 2. setting bit 15 selects the 32nd byte of the wake up frame 2. bit default value r/w description 15-0 0x0000 rw wf2bm1 wake - up frame 2 byte mask 1. the next 16 bytes mask covering bytes 17 to 32 of a wake - up frame 2 pattern. wakeup frame 2 byte mask 2 register (0x58 ? 0x59): wf2bm2 this register contains the next 16 bytes mask values of the wake up frame 2 pattern. setting bit 0 selects the 33rd byte of the wake up frame 2. setting bit 15 selects the 48th byte of the wake up frame 2. bit default value r/w description 15-0 0 rw wf2bm2 w ake - up frame 2 byte mask 2. the next 16 bytes mask covering bytes 33 to 48 of a wake - up frame 2 pattern. wakeup frame 2 byte mask 3 register (0x5a ? 0x5b): wf2bm3 this register contains the last 16 bytes mask values of the wake up frame 2 pattern. setting bit 0 selects the 49th byte of the wake up frame 2. setting bit 15 selects the 64th byte of the wake up frame 2. bit default value r/w description 15-0 0 rw wf2bm3 wake - up frame 2 byte mask 3. the last 16 bytes mask covering bytes 49 to 64 of a wake - up frame 2 pattern. 0x5c ? 0x5f: reserved wakeup frame 3 crc0 register (0x60 ? 0x61): wf3crc0 this register contains the expected crc values of the wake up frame 3 pattern. the value of the crc calculated is based on the ieee 802.3 ethernet standard, it is t aken over the bytes specified in the wake - up byte mask registers. bit default value r/w description 15-0 0 rw wf3crc0 wake - up frame 3 crc (lower 16 bits). the expected crc value of a wake up frame 3 pattern.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 47 revision 2. 2 wakeup frame 3 crc1 register (0x62 ? 0x63): wf3crc1 this register contains the expected crc values of the wake up frame 3 pattern. the value of the crc calculated is based on the ieee 802.3 ethernet standard, it is taken over the bytes specified in the wake - up byte mask registers. bit default value r/w description 15-0 0 rw wf3crc1 wake - up frame 3 crc (upper 16 bits). the expected crc value of a wake up frame 3 pattern. wakeup frame 3 byte mask 0 register (0x64 ? 0x65): wf3bm0 this register contains the first 16 bytes mask values of the wake up fra me 3 pattern. setting bit 0 selects the first byte of the wake up frame 3, setting bit 15 selects the 16th byte of the wake up frame 3. bit default value r/w description 15-0 0 rw wf3bm0 wake up frame 3 byte mask 0. the first 16 byte mask of a wake up fr ame 3 pattern. wakeup frame 3 byte mask 1 register (0x66 ? 0x67): wf3bm1 this register contains the next 16 bytes mask values of the wake up frame 3 pattern. setting bit 0 selects the 17th byte of the wake up frame 3. setting bit 15 selects the 32nd byte of the wake up frame 3. bit default value r/w description 15-0 0 rw wf3bm1 wake up frame 3 byte mask 1. the next 16 bytes mask covering bytes 17 to 32 of a wake up frame 3 pattern. wakeup frame 3 byte mask 2 register (0x68 ? 0x69): wf3bm2 this register contains the next 16 bytes mask values of the wake up frame 3 pattern. setting bit 0 selects the 33rd byte of the wake up frame 3. setting bit 15 selects the 48th byte of the wake up frame 3. bit default value r/w description 15-0 0 rw wf3bm2 wake up fra me 3 byte mask 2. the next 16 bytes mask covering bytes 33 to 48 of a wake up frame 3 pattern. wakeup frame 3 byte mask 3 register (0x6a ? 0x6b): wf3bm3 this register contains the last 16 bytes mask values of the wake up frame 3 pattern. setting bit 0 sel ects the 49th byte of the wake up frame 3. setting bit 15 selects the 64th byte of the wake up frame 3. bit default value r/w description 15-0 0 rw wf3bm3 wake up frame 3 byte mask 3. the last 16 bytes mask covering bytes 49 to 64 of a wake up frame 3 pa ttern. 0x6c ? 0x6f: reserved
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 48 revision 2. 2 transmit control register (0x70 ? 0x71): txcr this register holds control information programmed by the cpu to control the qmu transmit module function. bit default value r/w description 15-9 - ro reserved . 8 0x0 rw tcgicmp transmit checksum generation for icmp when this bit is set, the ksz8851 - 16mll is enabled to transmit icmp frame (only for non - fragment frame) checksum generation. 7 0x0 rw tcgudp transmit checksum generation for udp when this bit is set, the ksz8851 - 16ml l is enabled to transmit udp frame checksum generation. . 6 0x0 rw tcgtcp transmit checksum generation for tcp when this bit is set, the ksz8851 - 16mll is enabled to transmit tcp frame checksum generation. 5 0x0 rw tcgip transmit checksum generation for ip when this bit is set, the ksz8851 - 16mll is enabled to transmit ip header checksum generation. 4 0x0 rw ftxq flush transmit queue when this bit is set, the transmit queue memory is cleared and tx frame pointer is reset. note: disable the txe transmit enab le bit[0] first before set this bit, then clear this bit to normal operation. 3 0x0 rw txfce transmit flow control enable when this bit is set and the ksz8851 - 16mll is in full - duplex mode, flow control is enabled. the ksz8851 - 16mll transmits a pause frame when the receive buffer capacity reaches a threshold level that will cause the buffer to overflow. when this bit is set and the ksz8851 - 16mll is in half - duplex mode, back - pressure flow control is enabled. when this bit is cleared, no transmit flow control is enabled. 2 0x0 rw txpe transmit padding enable when this bit is set, the ksz8851 - 16mll automatically adds a padding field to a packet shorter than 64 bytes. note: setting this bit requires enabling the add crc feature (bit1=1) to avoid crc errors for the transmit packet. 1 0x0 rw txce transmit crc enable when this bit is set, the ksz8851 - 16mll automatically adds a 32- bit crc checksum field to the end of a transmit frame. 0 0x0 rw txe transmit enable when this bit is set, the transmit module is enable d and placed in a running state. when reset, the transmit process is placed in the stopped state after the transmission of the current frame is completed.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 49 revision 2. 2 transmit status register (0x72 ? 0x73): txsr this register keeps the status of the last transmitte d frame. bit default value r/w description 15-14 0x0 ro reserved . 13 0x0 ro txlc transmit late collision this bit is set when a transmit late collision occurs. 12 0x0 ro txmc transmit maximum collision this bit is set when a transmit maximum collision i s reached. 11-6 - ro reserved . 5 -0 - ro txfid transmit frame id this field identifies the transmitted frame. all of the transmit status information in this register belongs to the frame with this id. receive control register 1 (0x74 ? 0x75): rxcr1 this register holds control information programmed by the cpu to control the receive function. bit default value r/w description 15 0x0 rw frxq flush receive queue when this bit is set, the receive queue memory is cleared and rx frame pointer is reset. note: d isable the rxe receive enable bit[0] first before set this bit, then clear this bit to normal operation. 14 0x0 rw rxudpfcc receive udp frame checksum check enable when this bit is set, the ksz8851 will check for correct udp checksum for incoming udp fram es. any received udp frames with incorrect checksum will be discarded. 13 0x0 rw rxtcpfcc receive tcp frame checksum check enable when this bit is set, the ksz8851 will check for correct tcp checksum for incoming tcp frames. any received tcp frames with i ncorrect checksum will be discarded. 12 0x0 rw rxipfcc receive ip frame checksum check enable when this bit is set, the ksz8851 will check for correct ip header checksum for incoming ip frames. any received ip frames with incorrect checksum will be discar ded. 11 0x1 rw rxpafma receive physical address filtering with mac address enable when this bit is set, this bit enables the rx function to receive physical address that pass the mac address filtering mechanism (see address filtering scheme in table 3 for detail). 10 0x0 rw rxfce receive flow control enable when this bit is set and the ksz8851 - 16mll is in full - duplex mode, flow control is enabled, and the ksz8851 - 16mll will acknowledge a pause frame from the receive interface; i.e., the outgoing packets a re pending in the transmit buffer until the pause frame control timer expires. this field has no meaning in half - duplex mode and should be programmed to 0. when this bit is cleared, flow control is not enabled. 9 0x0 rw rxefe receive error frame enable wh en this bit is set, crc error frames are allowed to be received into the rx queue. when this bit is cleared, all crc error frames are discarded. 8 0x0 rw rxmafma receive multicast address filtering with mac address enable when this bit is set, this bit e nables the rx function to receive multicast address that pass the mac address filtering mechanism (see address filtering scheme in table 3 for detail). 7 0x0 rw rxbe receive broadcast enable when this bit is set, the rx module receives all the broadcast f rames.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 50 revision 2. 2 receive control register 1 (0x74 ? 0x75): rxcr1 (continued) bit default value r/w description 6 0x0 rw rxme receive multicast enable when this bit is set, the rx module receives all the multicast frames (including broadcast frames). 5 0x0 rw rxu e receive unicast enable when this bit is set, the rx module receives unicast frames that match the 48 - bit station mac address of the module. 4 0x0 rw rxae receive all enable when this bit is set, the ksz8851 - 16mll receives all incoming frames, regardless of the frame?s destination address (see address filtering scheme in table 3 for detail). 3 0x0 rw reserved 2 0x0 rw reserved 1 0x0 rw rxinvf receive inverse filtering when this bit is set, the ksz8851 - 16mll receives function with address check operatio n in inverse filtering mode (see address filtering scheme in table 3 for detail). 0 0x0 rw rxe receive enable when this bit is set, the rx block is enabled and placed in a running state. when this bit is cleared, the receive process is placed in the stopp ed state upon completing reception of the current frame. receive control register 2 (0x76 ? 0x77): rxcr2 this register holds control information programmed by the cpu to control the receive function. bit default value r/w description 15-5 - ro reserved . 4 0x0 rw iuffp ipv4/ipv6 /udp fragment frame pass when this bit is set, the ksz8851 - 16mll will pass the checksum check at receive side for ipv4/ipv6 udp frame with fragment extension header. when this bit is cleared, the ksz8851 - 16mll will perform checksum operation based on configuration and doesn?t care whether it?s a fragment frame or not. 3 0x0 rw rxiufcez receive ipv4/ipv6 /udp frame checksum equal zero when this bit is set, the ksz8851 - 16mll will pass the filtering for ipv4/ipv6 udp frame with udp che cksum equal to zero. when this bit is cleared, the ksz8851 - 16mll will drop ipv4/ipv6 udp packet with udp checksum equal to zero. 2 0x1 rw udplfe udp lite frame enable when this bit is set, the ksz8851 - 16mll will check the checksum at receive side and gen erate the checksum at transmit side for udp lite frame. when this bit is cleared, the ksz8851 - 16mll will pass the checksum check at receive side and skip the checksum generation at transmit side for udp lite frame . 1 0x0 rw rxicmpfcc receive icmp frame ch ecksum check enable when this bit is set, the ksz8851 will check for correct icmp checksum for incoming icmp frames (only for non - fragment frame) . any received icmp frames with incorrect checksum will be discarded. 0 0x0 rw rxsaf receive source address fi ltering when this bit is set, the ksz8851 - 16mll will drop the frame if the source address is same as mac address in marl, marm, marh registers.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 51 revision 2. 2 txq memory information register (0x78 ? 0x79): txmir this register indicates the amount of free memory availa ble in the txq of the qmu module. bit default value r/w description 15-13 - ro reserved . 12-0 - ro txma transmit memory available the amount of memory available is represented in units of byte. the txq memory is used for both frame payload, control word. note: software must be written to ensure that there is enough memory for the next transmit frame including control information before transmit data is written to the txq. 0x7a ? 0x7b: reserved receive frame header status register (0x7c ? 0x7d): rxfhsr t his register indicates the received frame header status information, the received frames are reported in rxfctr register. this register contains the status information for the frame received and the cpu can read so many times same as the frame count value in the rxfctr. bit default value r/w description 15 - ro rxfv receive frame valid when this bit is set, it indicates that the present frame in the receive packet memory is valid. the status information currently in this location is also valid. when clear, it indicates that there is either no pending receive frame or that the current frame is still in the process of receiving. 14 - ro reserved 13 - ro rxicmpfcs receive icmp frame checksum status when this bit is set, the ksz8851 received icmp frame checks um field is incorrect. 12 - ro rxipfcs receive ip frame checksum status when this bit is set, the ksz8851 received ip header checksum field is incorrect. 11 - ro rxtcpfcs receive tcp frame checksum status when this bit is set, the ksz8851 received tcp fr ame checksum field is incorrect. 10 - ro rxudpfcs receive udp frame checksum status when this bit is set, the ksz8851 received udp frame checksum field is incorrect. 9 -8 - ro reserved 7 - ro rxbf receive broadcast frame when this bit is set, it indicate s that this frame has a broadcast address. 6 - ro rxmf receive multicast frame when this bit is set, it indicates that this frame has a multicast address (including the broadcast address). 5 - ro rxuf receive unicast frame when this bit is set, it indica tes that this frame has a unicast address. 4 - ro rxmr receive mii error when set, it indicates that there is an mii symbol error on the received frame. 3 - ro rxft receive frame type when this bit is set, it indicates that the frame is an ethernet - type frame (frame length is greater than 1500 bytes). when clear, it indicates that the frame is an ieee 802.3 frame. this bit is not valid for runt frames.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 52 revision 2. 2 receive frame header status register (0x7c ? 0x7d): rxfhsr (continued) bit default value r/w descript ion 2 - ro rxftl receive frame too long when this bit is set, it indicates that the frame length exceeds the maximum size of 2000 bytes. frames that are too long are passed to the host only if the pass bad frame bit is set. note: frame too long is only a frame length indication and does not cause any frame truncation . 1 - ro rxrf receive runt frame when this bit is set, it indicates that a frame was damaged by a collision or had a premature termination before the collision window passed. runt frames are passed to the host only if the pass bad frame bit is set. 0 - ro rxce receive crc error when this bit is set, it indicates that a crc error has occurred on the current received frame. crc error frames are passed to the host only if the pass bad frame bit is set. receive frame header byte count register (0x7e ? 0x7f): rxfhbcr this register indicates the received frame header byte count information, the received frames are reported in rxfctr register. this register contains the total number of bytes inform ation for the frame received and the cpu can read so many times same as the frame count value in the rxfctr. bit default value r/w description 15-12 - ro reserved . 11-0 - ro rxbc receive byte count this field indicates the present received frame byte siz e. note: always read low byte first for 8 - bit mode opearation. txq command register (0x80 ? 0x81): txqcr this register is programmed by the host cpu to issue a transmit command to the txq. the present transmit frame in the txq memory is queued for transm it. bit default value r/w description 15-2 - rw reserved 1 0x0 rw txqmam txq memory available monitor when this bit is written as 1, the ksz8851 - 16mll will generate interrupt (bit 6 in isr register) to cpu when txq memory is available based upon the tota l amount of txq space requested by cpu at txntfsr (0x9e) register. note: this bit is self - clearing after the frame is finished transmitting. the software should wait for the bit to be cleared before set to 1 again. 0 0x0 rw metfe manual enqueue txq frame enable when this bit is written as 1, the ksz8851 - 16mll will enable current tx frame prepared in the tx buffer is queued for transmit, this is only transmit one frame at a time. note: this bit is self - clearing after the frame is finished transmitting. the software should wait for the bit to be cleared before setting up another new tx frame.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 53 revision 2. 2 rxq command register (0x82 ? 0x83): rxqcr this register is programmed by the host cpu to issue dma read or write command to the rxq and txq. this register also is use d to control all rx thresholds enable and status. bit default value r/w description 15-13 - rw reserved . 12 - ro rxdtts rx duration timer threshold status when this bit is set, it indicates that rx interrupt is due to the time start at first received fra me in rxq buffer exceeds the threshold set in rx duration timer threshold register (0x8c, rxdtt). this bit will be update d when write 1 to bit 13 in isr register. 11 - ro rxdbcts rx data byte count threshold status when this bit is set, it indicates that rx interrupt is due to the number of received bytes in rxq buffer exceeds the threshold set in rx data byte count threshold register (0x8e, rxdbct). this bit will be update d when write 1 to bit 13 in isr register. 10 - ro rxfcts rx frame count threshold s tatus when this bit is set, it indicates that rx interrupt is due to the number of received frames in rxq buffer exceeds the threshold set in rx frame count threshold register (0x9c, rxfct). this bit will be update d when write 1 to bit 13 in isr register. 9 0x0 rw rxiphtoe rx ip header two - byte offset enable when this bit is written as 1, the ksz8851 - 16mll will enable to add two bytes before frame header in order for ip header inside the frame contents to be aligned with double word boundary to speed up so ftware operation. 8 - rw reserved . 7 0x0 rw rxdtte rx duration timer threshold enable when this bit is written as 1, the ksz8851 - 16mll will enable rx interrupt (bit 13 in isr) when the time start at first received frame in rxq buffer exceeds the threshol d set in rx duration timer threshold register (0x8c, rxdtt). 6 0x0 rw rxdbcte rx data byte count threshold enable when this bit is written as 1, the ksz8851 - 16mll will enable rx interrupt (bit 13 in isr) when the number of received bytes in rxq buffer exc eeds the threshold set in rx data byte count threshold register (0x8e, rxdbct). 5 0x0 rw rxfcte rx frame count threshold enable when this bit is written as 1, the ksz8851 - 16mll will enable rx interrupt (bit 13 in isr) when the number of received frames in rxq buffer exceeds the threshold set in rx frame count threshold register (0x9c, rxfct). bit default value r/w description 4 0x0 rw adrfe auto - dequeue rxq frame enable when this bit is written as 1, the ksz8851 - 16mll will automatically enable rxq frame buffer dequeue. the read pointer in rxq frame buffer will be automatically adjusted to next received frame location after current frame is completely read by the host. 3 0x0 wo sda start dma access when this bit is written as 1, the ksz8851 - 16mll allows a dma operation from the host cpu to access either read rxq frame buffer or write txq frame buffer with csn and rdn or wrn signals while the cmd pin is low. all registers access are disabled except this register during this dma operation. this bit must be s et to 0 when dma operation is finished in order to access the rest of registers. in order to get out of dma mode the sd1 bit must set to ?1? when cmd = 1. 2 -1 - rw reserved. 0 0x0 rw rrxef release rx error frame when this bit is written as 1, the current rx error frame buffer is released. note: this bit is self - clearing after the frame memory is released. the software should wait for the bit to be cleared before processing new rx frame.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 54 revision 2. 2 tx frame data pointer register (0x84 ? 0x85): txfdpr the value of th is register determines the address to be accessed within the txq frame buffer. when the auto increment is set, it will automatically increment the pointer value on write accesses to the data register. the counter is incremented by one for every byte access , by two for every word access, and by four for every double word access. bit default value r/w description 15 - ro reserved . 14 0x0 rw txfpai tx frame data pointer auto increment when this bit is set, the tx frame data pointer register increments automa tically on accesses to the data register. the increment is by one for every byte access, by two for every word access, and by four for every doubleword access. when this bit is reset, the tx frame data pointer is manually controlled by user to access the t x frame location. 13-11 - ro reserved . 10-0 0x000 ro txfp tx frame pointer tx frame pointer index to the frame data register for access. this field reset to next available tx frame location when the tx frame data has been enqueued through the txq command register. rx frame data pointer register (0x86 ? 0x87): rxfdpr the value of this register determines the address to be accessed within the rxq frame buffer. when the auto increment is set, it will automatically increment the rxq pointer on read accesses to the data register. the counter is incremented is by one for every byte access, by two for every word access, and by four for every double word access. bit default value r/w description 15 - ro reserved . 14 0x0 rw rxfpai rx frame pointer auto incremen t when this bit is set, the rxq address register increments automatically on accesses to the data register. the increment is by one for every byte access, by two for every word access, and by four for every double word access. when this bit is reset, the r x frame data pointer is manually controlled by user to access the rx frame location. 13 - ro reserved . bit default value r/w description 12 0x0 rw wst write sample time this bit is used to select the wrn active to write data valid time as shown in figu re 1 0 . 0: wrn active to write data valid sample time is range of 8ns (min) to 16ns (max). 1: wrn active to write data valid sample time is 4ns (max). 11 0x0 wo (read back is ?0?) ems endian mode selection this bit is used to select either big or little en dian mode when endian mode select strapping pin (10 ) is nc or tied to gnd . 0: is set to little endian mode 1: is set to big endian mode 10-0 0x000 wo rxfp rx frame pointer rx frame data pointer index to the data register for access. this pointer value mus t reset to 0x000 before each dma operation from the host cpu to read rxq frame buffer.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 55 revision 2. 2 0x88 ? 0x8b: reserved rx duration timer threshold register (0x8c ? 0x8d): rxdttr this register is used to program the received frame duration timer threshold. bit defau lt value r/w description 15-0 0x0000 rw rxdtt receive duration timer threshold to program received frame duration timer threshold value in 1us interval. the maximum value is 0xcfff. when bit 7 set to 1 in rxqcr register, the ksz8851 - 16mll will set rx inte rrupt (bit 13 in isr) after the time starts at first received frame in rxq buffer and exceeds the threshold set in this register. rx data byte count threshold register (0x8e ? 0x8f): rxdbctr this register is used to program the received data byte count th reshold. bit default value r/w description 15-0 0x0000 rw rxdbct receive data byte count threshold to program received data byte threshold value in byte count. when bit 6 set to 1 in rxqcr register, the ksz8851 - 16mll will set rx interrupt (bit 13 in isr) when the number of received bytes in rxq buffer exceeds the threshold set in this register. interrupt enable register (0x90 ? 0x91): ier this register enables the interrupts from the qmu and other sources. bit default value r/w description 15 0x0 rw lcie link change interrupt enable when this bit is set, the link change interrupt is enabled. when this bit is reset, the link change interrupt is disabled. 14 0x0 rw txie transmit interrupt enable when this bit is set, the transmit interrupt is enabled. whe n this bit is reset, the transmit interrupt is disabled. 13 0x0 rw rxie receive interrupt enable when this bit is set, the receive interrupt is enabled. when this bit is reset, the receive interrupt is disabled. 12 0x0 rw reserved 11 0x0 rw rxoie receiv e overrun interrupt enable when this bit is set, the receive overrun interrupt is enabled. when this bit is reset, the receive overrun interrupt is disabled. 10 0x0 rw reserved 9 0x0 rw txpsie transmit process stopped interrupt enable when this bit is se t, the transmit process stopped interrupt is enabled. when this bit is reset, the transmit process stopped interrupt is disabled. 8 0x0 rw rxpsie receive process stopped interrupt enable when this bit is set, the receive process stopped interrupt is enabl ed. when this bit is reset, the receive process stopped interrupt is disabled. 7 0x0 rw reserved 6 0x0 rw txsaie transmit space available interrupt enable when this bit is set, the transmit memory space available interrupt is enabled. when this bit is re set, the transmit memory space available interrupt is disabled.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 56 revision 2. 2 interrupt enable register (0x90 ? 0x91): ier (continued) bit default value r/w description 5 0x0 rw rxwfdie receive wake - up frame detect interrupt enable when this bit is set, the receive w akeup frame detect interrupt is enabled. when this bit is reset, the receive wakeup frame detect interrupt is disabled. 4 0x0 rw rxm pd ie receive magic packet detect interrupt enable when this bit is set, the receive magic packet detect interrupt is enable d. when this bit is reset, the receive magic packet detect interrupt is disabled. 3 0x0 rw ldie linkup detect interrupt enable when this bit is set, the wake - up from linkup detect interrupt is enabled. when this bit is reset, the linkup detect interrupt i s disabled. 2 0x0 rw edie energy detect interrupt enable when this bit is set, the wake - up from energy detect interrupt is enabled. when this bit is reset, the energy detect interrupt is disabled. 1 0x0 ro reserved . 0 0x0 rw dedie delay energy detect in terrupt enable when this bit is set, the delay energy detect interrupt is enabled. when this bit is reset, the delay energy detect interrupt is disabled. note: the delay energy detect interrupt till device is ready for host access. interrupt status regist er (0x92 ? 0x93): isr this register contains the status bits for all qmu and other interrupt sources. when the corresponding enable bit is set, it causes the interrupt pin to be asserted. this register is usually read by the host cpu and device drivers dur ing interrupt service routine or polling. the register bits are not cleared when read. the user has to write ?1? to clear. bit default value r/w description 15 0x0 ro (w1c) lcis link change interrupt status when this bit is set, it indicates that the lin k status has changed from link up to link down, or link down to link up. this edge - triggered interrupt status is cleared by writing 1 to this bit. 14 0x0 ro (w1c) txis transmit interrupt status when this bit is set, it indicates that the txq mac has tran smitted at least a frame on the mac interface and the qmu txq is ready for new frames from the host. this edge - triggered interrupt status is cleared by writing 1 to this bit. 13 0x0 ro (w1c) rxis receive interrupt status when this bit is set, it indicates that the qmu rxq has received at least a frame from the mac interface and the frame is ready for the host cpu to process. this edge - triggered interrupt status is cleared by writing 1 to this bit. 12 0x0 ro reserved 11 0x0 ro (w1c) rxois receive overrun interrupt status when this bit is set, it indicates that the receive overrun status has occurred. this edge - triggered interrupt status is cleared by writing 1 to this bit. 10 0x0 ro reserved 9 0x1 ro (w1c) txpsis transmit process stopped interrupt status when this bit is set, it indicates that the transmit process has stopped. this edge - triggered interrupt status is cleared by writing 1 to this bit.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 57 revision 2. 2 interrupt status register (0x92 ? 0x93): isr (continued) bit default value r/w description 8 0x1 ro (w1c ) rxpsis receive process stopped interrupt status when this bit is set, it indicates that the receive process has stopped. this edge - triggered interrupt status is cleared by writing 1 to this bit. 7 0x0 ro reserved 6 0x0 ro (w1c) txsais transmit space av ailable interrupt status when this bit is set, it indicates that transmit memory space available status has occurred. when this bit is reset, the transmit memory space available interrupt is disabled. 5 0x0 ro rxwfdis receive wakeup frame detect interrupt status when this bit is set, it indicates that receive wakeup frame detect status has occurred. write ?1000? to pmecr[5:2] to clear this bit 4 0x0 ro rxm pd is receive magic packet detect interrupt status when this bit is set, it indicates that receive mag ic packet detect status has occurred. write ?0100? to pmecr[5:2] to clear this bit. 3 0x0 ro ldis linkup detect interrupt status when this bit is set, it indicates that wake - up from linkup detect status has occurred. write ?0010? to pmecr[5:2] to clear th is bit. 2 0x0 ro edis energy detect interrupt status when this bit is set and bit 2=1, bit 0=0 in ier register, it indicates that wake - up from energy detect status has occurred. when this bit is set and bit 2, 0=1 in ier register, it indicates that wake - up from delay energy detect status has occurred. write ?0001? to pmecr[5:2] to clear this bit. 1 0x0 ro reserved . 0 0x0 ro reserved 0x94 ? 0x9b: reserved rx frame count & threshold register (0x9c ? 0x9d): rxfctr this register indicates the current total amount of received frame count in rxq frame buffer and also is used to program the received frame count threshold. bit default value r/w description 15-8 0x00 ro rxfc rx frame count to indicate the total received frame s in rxq frame buf fer when receive i nterrupt (bit 13 =1 in isr) occurred and write ?1? to clear this bit 13 in isr . the host cpu can start to read the update d receive frame header informat ion in rxfhsr/rxfhbcr registers after read this rx frame count register. 7 -0 0x00 rw rxfct receive frame count threshold to program received frame count threshold value. note: when bit 5 set to 1 in rxqcr register, the rxfct r eceive frame threshold? can?t set to 0 , the ksz8851 - 16mll will set rx interrupt (bit 13 in isr) when the number of received frames in r xq buffer exceeds or equals to the threshold set in this register. tx next total frames size register (0x9e ? 0x9f): txntfsr this register is used by the host cpu to program the total amount of txq buffer space requested for the next transmit. bit defaul t value r/w description 15-0 0x0000 rw txntfs tx next total frames size the host cpu is used to program the total amount of txq buffer space which is required for next total transmit frames size in double - word count. when bit 1 (txq memory available monit or) is set to 1 in txqcr register, the ksz8851 - 16mll will generate interrupt (bit 6 in isr register) to cpu when txq memory is available based upon the total amount of txq space requested by cpu at this register.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 58 revision 2. 2 mac address hash table register 0 (0xa0 ? 0xa1): mahtr0 the 64 - bit mac address table is used for group address filtering and it is enabled by selecting item 5 ?hash perfect? mode in table 3 (address filtering scheme). this value is defined as the six most significant bits from crc circuit calculat ion result that is based on 48 - bit of da input. the two most significant bits select one of the four registers to be used, while the others determine which bit within the register. multicast table register 0. bit default value r/w description 15-0 0x0 rw ht0 hash table 0 when the appropriate bit is set, if the packet received with da matches the crc, the hashing function is received without being filtered. when the appropriate bit is cleared, the packet will drop. mac address hash table register 1 (0xa2 ? 0xa3): mahtr1 multicast table register 1. bit default value r/w description 15-0 0x0 rw ht1 hash table 1 when the appropriate bit is set, if the packet received with da matches the crc, the hashing function is received without being filtered. when the a ppropriate bit is cleared, the packet will drop. note: when the receive all (rxae) or receive multicast (rxme) bit is set in the rxcr 1 , all multicast addresses are received regardless of the multicast table value. mac address hash table register 2 (0xa4 ? 0xa5): mahtr2 multicast table register 2. bit default value r/w description 15-0 0x0 rw ht2 hash table 2 when the appropriate bit is set, if the packet received with da matches the crc, the hashing function is received without being filtered. when the appropriate bit is cleared, the packet will drop. note: when the receive all (rxae) or receive multicast (rxme) bit is set in the rxcr 1 , all multicast addresses are received regardless of the multicast table value. mac address hash table register 3 (0xa6 ? 0xa7): mahtr3 multicast table register 3. bit default value r/w description 15-0 0x0 rw ht3 hash table 3 when the appropriate bit is set, if the packet received with da matches the crc, the hashing function is received without being filtered. when the appropriate bit is cleared, the packet will drop. note: when the receive all (rxae) or receive multicast (rxme) bit is set in the rxcr 1 , all multicast addresses are received regardless of the multicast table value. 0xa8 ? 0xaf: reserved flow control low watermark register (0xb0 ? 0xb1): fclwr this register is used to control the flow control for low watermark in qmu rx queue. bit default value r/w description 15-12 - rw reserved 11-0 0x0500 rw fclwc flow control low watermark configuration these bits a re used to define the qmu rx queue low watermark configuration. it is in double words count and default is 5.12 kbyte available buffer space out of 12 kbyte.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 59 revision 2. 2 flow control high watermark register (0xb2 ? 0xb3): fchwr this register is used to control the fl ow control for high watermark in qmu rx queue. bit default value r/w description 15-12 - rw reserved 11-0 0x0300 rw fchwc flow control high watermark configuration these bits are used to define the qmu rx queue high watermark configuration. it is in doub le words count and default is 3.072 k byte available buffer space out of 12 kbyte. flow control overrun watermark register (0xb4 ? 0xb5): fcowr this register is used to control the flow control for overrun watermark in qmu rx queue bit default value r/w description 15-12 - rw reserved 11-0 0x0040 rw fclwc flow control overrun watermark configuration these bits are used to define the qmu rx queue overrun watermark configuration. it is in double words count and default is 256 bytes available buffer space out of 12 kbyte. 0xb6 ? 0xbf: reserved chip id and enable register (0xc0 ? 0xc1): cider this register contains the chip id and the chip enable bit. bit default r/w description 15-8 0x88 ro family id chip family id 7 -4 0x7 ro chip id 0x7 is assigned to k sz8851 - 16mll 3 -1 - ro revision id note: bits[3 - 1]=0 is for rev. a2 part, bits[3 - 1]=1 is for rev.a3 part. 0 0x0 rw reserved 0xc2 ? 0xc5: reserved chip global control register (0xc6 ? 0xc7): cgcr this register contains the global control for the chip func tion. bit default r/w description 15-12 0x0 rw reserved. 11-10 0x2 rw reserved. 9 0x0 rw ledsel0 this bit sets the ledsel0 selection for p1led1 and p1led0. phy port led indicators, defined as below: ledsel0 (bit9) 0 1 p1led1 100bt act p1led0 link/ act link 8 0x0 r/w reserved. 7 -0 0x35 rw reserved.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 60 revision 2. 2 indirect access control register (0xc8 ? 0xc9): iacr this register contains the indirect control for the mib counter (write iacr triggers a command. read access is determined by bit 12). bit default r/w description 15-13 0x0 rw reserved . 12 0x0 rw read enable. 1 = read cycle is enabled (mib counter will clear after read). 0 = no operation. 11-10 0x0 rw table select 00 = reserved. 01 = reserved. 10 = reserved. 11 = mib counter selected. 9 -5 - rw r eserved. 4 -0 0x00 rw indirect address bit 4 - 0 of indirect address for 32 mib counter locations. 0xca ? 0xcf: reserved indirect access data low register (0xd0 ? 0xd1): iadlr this register contains the indirect data (low word) for mib counter. bit default r/w description 15-0 0x0000 rw indirect low word data bit 15 - 0 of indirect data. indirect access data high register (0xd2 ? 0xd3): iadhr this register contains the indirect data (high word) for mib counter. bit default r/w description 15-0 0x0000 rw ind irect high word data bit 31 - 16 of indirect data.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 61 revision 2. 2 power management event control register (0xd4 ? 0xd5): pmecr this register is used to control the ksz8851 - 16mll power management event, capabilities and status. bit default value r/w description 15 - ro reserved . 14 0 rw pme delay enable this bit is used to enable the delay of pme output pin assertion. when this bit is set to 1, the device will not assert the pme output un til all the clocks in the device are running and it is ready for host access es . whe n this bit is set to 0, the device will assert the pme output without delay. this bit is only valid when auto wake - up enable (bit7) is set to 1 in this register. 13 0 rw reserved 12 0 rw pme output polarity this bit is used to control the pme output pin polarity. when this bit is set to 1, the pme output pin is active high. when this bit is set to 0, the pme output pin is active low. 11-8 0x0 rw wake - on - lan to pme output enable these four bits are used to enable the pme output pin asserted when one of t hese wake - on- lan events is detected: bit 11: is corresponding to receive wake - up frame. bit 10: is corresponding to receive magic packet. bit 9: is corresponding to link change from down to up. bit 8: is corresponding to signal energy detected. when the bi t is set to 1, the pme pin will be asserted when a corresponding wake -on - lan event is occurred. when this bit is set to 0, the pme pin will be not asserted when a corresponding wake -on - lan event is occurred. 7 0 rw auto wake - up enable this bit is used to enable automatically wake - up from low power state to normal power state in energy detect mode if carrier (signal energy) is present more than wake - up time in gswutr register. during the normal power state, the device can receive and transmit packets. when this bit is set to 1, the auto wake - up is enabled in energy detect mode. when this bit is set to 0, the auto wake - up is disabled in energy detect mode. 6 0 rw wake - up to normal operation mode this bit is used to control the device wake - up from low power state in energy detect mode to normal operation mode if signal energy is detected longer than the programmed wake -up time in gswutr register. when this bit is set to 1, the device will automatically go to the normal operation mode from energy detect mode. when this bit is set to 0, the device will not automatically go to the normal mode from energy detect mode. this bit is only valid when auto wake - up enable (bit7) is set to 1.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 62 revision 2. 2 power management event control register (0xd4 ? 0xd5): pmecr (continued) bit default value r/w description 5 -2 0x0 ro (w1c) wake - up event indication these four bits are used to indicate the ksz8851 - 16mll wake- up event status as below: 0000: no wake - up event. 0001: wake - up from energy event detected. (bit 2 also set to 1 in isr re gister) 0010: wake - up from link up event detected. (bit 3 also set to 1 in isr register) 0100: wake - up from magic packet event detected. 1000: wake - up from wakeup frame event detected. if wake -on- lan to pme output enable bit [ 11:8] are set, the ksz8851 - 16m ll also asserts the pme pin. these bits are cleared on power up reset or by writ ing 1 to bits [5 - 2] (w1c) . it is not modified by either hardware or software reset. when these bits are cleared, the ksz8851 - 16mll deasserts the pme pin. 1 -0 0x0 rw power mana gement mode these two bits are used to control the ksz8851 - 16mll power management mode as below: 00: normal operation mode. 01: energy detect mode. (two states in this mode either low power or normal power) 10: soft power - down mode. 11: power - saving mode. in energy detect mode under low power state, it can wake - up to normal operation mode from line to get the energy. in soft power - down mode , it can wake - up to normal operation mode only from host wake- up (host cpu issues a read cycle to grr register). go - sl eep and wake - up time register (0xd6 ? 0xd7): gswutr this register contains the value which is used to control minimum go - sleep time period when the device from normal power state to low power state or to control minimum wake - up time period when the device from low power state to normal power state in energy detect mode. bit default r/w description 15-8 0x08 rw wake - up time this value is used to control the minimum period that the energy has to be detected consecutively before the device is waked - up from th e low power state. the unit is 16 ms +/ - 80% , the default wake - up time is 128 ms (16ms x 8). zero time (0x00) is not allowed 7 -0 0x0c rw go - sleep time this value is used to control the minimum period that the no energy event has to be detected consecutive ly before the device enters the low power state when the energy detect mode is on. the unit is 1 sec +/ -80% , the default go- sleep time is 12 sec (1s x 12). zero time (0x00) is not allowed phy reset register (0xd8 ? 0xd9): phyrr this register contains a co ntrol bit to reset phy block when write an ?1?. bit default r/w description 15-1 - rw reserved . 0 0 wo (self clear) phy reset bit this bit is write only and self clear after write an ?1?, it is used to reset phy block circuitry. 0xda ? 0xdf: reserved 0xe0 ? 0xe3: reserved
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 63 revision 2. 2 phy 1 mii - register basic control register (0xe4 ? 0xe5): p1mbcr this register contains media independent interface (mii) register for port 1 as defined in the ieee 802.3 specification. bit default r/w description bit is same as: 15 0 ro reserved 14 0 rw local (far - end) loopback (llb) 1 = perform local loopback at host (host tx - > phy - > host rx, see figure 9 ) 0 = normal operation 13 1 rw force 100 1 = force 100mbps if an is disabled (bit 12) 0 = force 10mbps if an is disabled ( bit 12) bit 6 in p1cr 12 1 rw an enable 1 = auto - negotiation enabled. 0 = auto - negotiation disabled. bit 7 in p1cr 11-10 0 rw reserved 9 0 rw restart an 1 = restart auto - negotiation. 0 = normal operation. bit 13 in p1cr 8 1 rw force full duplex 1 = f orce full duplex 0 = force half duplex. if an is disabled (bit 12) or an is enabled but failed. bit 5 in p1cr 7 -6 0 ro reserved 5 1 r/w hp_mdix 1 = hp auto mdi - x mode. 0 = micrel auto mdi - x mode. bit 15 in p1sr 4 0 rw force mdi -x 1 = if auto mdi/mdi - x is disabled, force phy into mdi mode. 0 = if auto mdi/mdi - x is disabled, force phy into mdi -x mode. . bit 9 in p1cr 3 0 rw disable mdi -x 1 = disable auto mdi -x. 0 = normal operation. bit 10 in p1cr 2 0 rw reserved . 1 0 rw disable transmit 1 = disable tr ansmit. 0 = normal operation. bit 14 in p1cr 0 0 rw disable led 1 = disable all leds. 0 = normal operation. bit 15 in p1cr
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 64 revision 2. 2 phy 1 mii - register basic status register (0xe6 ? 0xe7): p1mbsr this register contains the mii register status for the chip functi on. bit default r/w description bit is same as: 15 0 ro t4 capable 1 = 100 base - t4 capable. 0 = not 100 base - t4 capable. 14 1 ro 100 full capable 1 = 100base - tx full - duplex capable. 0 = not 100base - tx full duplex.capable. 13 1 ro 100 half capable 1= 100base - tx half - duplex capable. 0= not 100base - tx half - duplex capable. 12 1 ro 10 full capable 1 = 10base - t full - duplex capable. 0 = not 10base - t full - duplex capable. 11 1 ro 10 half capable 1 = 10base - t half - duplex capable. 0 = not 10base - t half - duple x capable. 10-7 0x0 ro reserved. 6 0 ro preamble suppressed not supported. 5 0 ro an complete 1 = auto - negotiation complete. 0 = auto - negotiation not completed. bit 6 in p1sr 4 0 ro reserved 3 1 ro an capable 1 = auto - negotiation capable. 0 = not auto - negotiation capable. 2 0 ro link status 1 = link is up; 0 = link is down. bit 5 in p1sr 1 0 ro jabber test not supported. 0 0 ro extended capable 1 = extended register capable. 0 = not extended register capable. phy 1 phy id low register (0xe8 ? 0xe9): phy1ilr this register contains the phy id (low) for the chip. bit default r/w description 15-0 0x1430 ro phyid low low order phyid bits. phy 1 phy id high register (0xea ? 0xeb): phy1ihr this register contains the phy id (high) for the chip. bit default r/w description 15-0 0x0022 ro phyid high high order phyid bits.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 65 revision 2. 2 phy 1 auto - negotiation advertisement register (0xec ? 0xed): p1anar this register contains the auto - negotiation advertisement for the phy function. bit default r/w description bit is same as: 15 0 ro next page not supported. 14 0 ro reserved 13 0 ro remote fault not supported. 12-11 0x0 ro reserved 10 1 rw pause (flow control capability) 1 = advertise pause capability. 0 = do not advertise pause capability . bit 4 in p1cr 9 0 rw reserved . 8 1 rw adv 100 full 1 = advertise 100 full - duplex capability. 0 = do not advertise 100 full - duplex capability bit 3 in p1cr 7 1 rw adv 100 half 1= advertise 100 half - duplex capability. 0 = do not advertise 100 half - duplex capability. bi t 2 in p1cr 6 1 rw adv 10 full 1 = advertise 10 full - duplex capability. 0 = do not advertise 10 full - duplex capability. bit 1 in p1cr 5 1 rw adv 10 half 1 = advertise 10 half - duplex capability. 0 = do not advertise 10 half - duplex capability. bit 0 in p 1cr 4 -0 0x01 ro selector field 802.3
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 66 revision 2. 2 phy 1 auto - negotiation link partner ability register (0xee ? 0xef): p1anlpr this register contains the auto - negotiation link partner ability for the chip function. bit default r/w description bit is same as: 15 0 ro next page not supported. 14 0 ro lp ack not supported. 13 0 ro remote fault not supported. 12-11 0x0 ro reserved 10 0 ro pause link partner pause capability. bit 4 in p1sr 9 0 ro reserved . 8 0 ro adv 100 full link partner 100 full capability. bit 3 in p1sr 7 0 ro adv 100 half link partner 100 half capability. bit 2 in p1sr 6 0 ro adv 10 full link partner 10 full capability. bit 1 in p1sr 5 0 ro adv 10 half link partner 10 half capability. bit 0 in p1sr 4 -0 0x01 ro reserved . 0xf0 ? 0xf3: reserved port 1 phy special control/status, linkmd (0xf4 ? 0xf5): p1sclmd this register contains the special control, status and linkmd information of phy1. bit default r/w description bit is same as: 15 0 ro reserved 14-13 0x0 ro vct_result vct result. [00] = normal condition. [01] = open condition has been detected in cable. [10] = short condition has been detected in cable. [11] = cable diagnostic test is failed. 12 0 rw (self - clear) vct_en vct enable. 1 = the cable diagnostic test is enabled. it is self - cleared after the vct test is done. 0 = it indicates the cable diagnostic test is completed and the status information is valid for read. 11 0 rw force_lnk force link. 1 = force link pass ; 0 = normal operation.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 67 revision 2. 2 port 1 phy special control/status, linkmd (0xf4 ? 0xf5): p1sclmd (continued) bit default r/w description bit is same as: 10 0 ro reserved . 9 0 rw remote (near - end) loopback (rlb) 1 = perform remote loopback at phy (rxp1/rxm1 - > txp1/txm1, see figure 9 ) 0 = normal operation 8 -0 0x000 r o vct_fault_count vct fault count. distance to the fault. it?s approximately 0.4m*vct_fault_count. port 1 control register (0xf6 ? 0xf7): p1cr this register contains the global per port control for the chip function. bit default r/w description bit is sa me as: 15 0 rw led off 1 = turn off all of the port 1 leds (p1led3, p1led2, p1led1, p1led0). these pins are driven high if this bit is set to one. 0 = normal operation. bit 0 in p1mbcr 14 0 rw txids 1 = disable the port?s transmitter. 0 = normal operatio n. bit 1 in p1mbcr 13 0 rw restart an 1 = restart auto - negotiation. 0 = normal operation. bit 9 in p1mbcr 12 0 rw reserved 11 0 rw reserved 10 0 rw disable auto mdi/mdi -x 1 = disable auto mdi/mdi - x function. 0 = enable auto mdi/mdi - x function. bit 3 in p1mbcr 9 0 rw force mdi -x 1= if auto mdi/mdi - x is disabled, force phy into mdi mode. 0 = if auto mdi/mdi - x is disabled, force phy into mdi -x mode. bit 4 in p1mbcr 8 0 rw reserved 7 1 rw auto negotiation enable 1 = auto negotiation is enabled. 0 = di sable auto negotiation, speed, and duplex are decided by bits 6 and 5 of the same register. bit 12 in p1mbcr 6 1 rw force speed 1 = force 100bt if an is disabled (bit 7). 0 = force 10bt if an is disabled (bit 7). bit 13 in p1mbcr 5 1 rw force duplex 1 = force full duplex if (1) an is disabled or (2) an is enabled but failed. 0 = force half duplex if (1) an is disabled or (2) an is enabled but failed. bit 8 in p1mbcr
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 68 revision 2. 2 port 1 control register (0xf6 ? 0xf7): p1cr (continued) bit default r/w description bit is same as: 4 1 rw advertised flow control capability 1 = advertise flow control (pause) capability. 0 = suppress flow control (pause) capability from transmission to link partner. bit 10 in p1anar 3 1 rw advertised 100bt full - duplex capability 1 = adve rtise 100bt full - duplex capability. 0 = suppress 100bt full - duplex capability from transmission to link partner. bit 8 in p1anar 2 1 rw advertised 100bt half - duplex capability 1 = advertise 100bt half - duplex capability. 0 = suppress 100bt half - duplex capa bility from transmission to link partner. bit 7 in p1anar 1 1 rw advertised 10bt full - duplex capability 1 = advertise 10bt full - duplex capability. 0 = suppress 10bt full - duplex capability from transmission to link partner. bit 6 in p1anar 0 1 rw advertis ed 10bt half - duplex capability 1 = advertise 10bt half - duplex capability. 0 = suppress 10bt half - duplex capability from transmission to link partner. bit 5 in p1anar port 1 status register (0xf8 ? 0xf9): p1sr this register contains the phy port status for the chip function. bit default r/w description bit is same as: 15 1 rw hp_mdix 1 = hp auto mdi - x m ode. 0 = micrel auto mdi - x mode. bit 5 in p1mbcr 14 0 ro reserved 13 0 ro polarity reverse 1 = polarity is reversed . 0 = polarity is not reversed. 12-11 0 ro reserved 10 0 ro operation speed 1 = link speed is 100mbps . 0 = link speed is 10mbps. 9 0 ro operation duplex 1 = link duplex is full . 0 = link duplex is half. 8 0 ro reserved 7 1 ro mdi - x status 1 = mdi . 0 = mdi - x. 6 0 ro an done 1 = an done . 0 = an not done. bit 5 in p1mbsr 5 0 ro link good 1= link good . 0 = link not good. bit 2 in p1mbsr
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 69 revision 2. 2 port 1 status register (0xf8 ? 0xf9): p1sr (continued) bit default r/w description bit is same as: 4 0 ro partner flow control capability 1 = link partner flow control (pause) capable. 0 = link partner not flow control (pause) capable. bit 10 in p1anlpr 3 0 ro partner 100bt full - duplex capability 1 = link partner 100bt full - duplex capable. 0 = link partner not 100bt full - duplex capable. bit 8 in p1a nlpr 2 0 ro partner 100bt half - duplex capability 1 = link partner 100bt half - duplex capable. 0= link partner not 100bt half - duplex capable. bit 7 in p1anlpr 1 0 ro partner 10bt full - duplex capability 1= link partner 10bt full - duplex capable. 0 = link par tner not 10bt full - duplex capable. bit 6 in p1anlpr 0 0 ro partner 10bt half - duplex capability 1 = link partner 10bt half - duplex capable. 0 = link partner not 10bt half - duplex capable. bit 5 in p1anlpr 0xfa ? 0xff: reserved
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 70 revision 2. 2 mib (management information base) counters the ksz8851 - 16mll provides 32 mib counters to monitor the port activity for network management. the mib counters are formatted as shown below: bit name r/w description default 31-0 counter values ro counter value (read clear) 0x00000000 ta ble 12. format of mib counters ethernet port mib counters are read using indirect memory access. the address offset range is 0x00 to 0x1f. refer to table 13.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 71 revision 2. 2 offset counter name description 0x0 rxbyte rx octet count including bad packets 0x1 reserved reserved. 0x2 rxundersizepkt rx undersize packets w/ good crc 0x3 rxfragments rx fragment packets w/ bad crc, symbol errors or alignment errors 0x4 rxoversize rx oversize packets w/ good crc (max: 1536 bytes) 0x5 rxjabbers rx packets longer than 1536 b ytes w/ either crc errors, alignment errors, or symbol errors 0x6 rxsymbolerror rx packets w/ invalid data symbol and legal packet size. 0x7 rxcrcerror rx packets within (64,2000) bytes w/ an integral number of bytes and a bad crc 0x8 rxalignmenterror rx packets within (64,2000) bytes w/ a non - integral number of bytes and a bad crc 0x9 rxcontrol8808pkts number of mac control frames received by a port with 88 - 08h in ethertype field 0xa rxpausepkts number of pause frames received by a port. pause frame is qualified with ethertype (88 - 08h), da, control opcode (00- 01), data length (64b min), and a valid crc 0xb rxbroadcast rx good broadcast packets (not including error broadcast packets or valid multicast packets) 0xc rxmulticast rx good multicast packe ts (not including mac control frames, error multicast packets or valid broadcast packets) 0xd rxunicast rx good unicast packets 0xe rx64octets total rx packets (bad packets included) that were 64 octets in length 0xf rx65to127octets total rx packets (ba d packets included) that are between 65 and 127 octets in length 0x10 rx128to255octets total rx packets (bad packets included) that are between 128 and 255 octets in length 0x11 rx256to511octets total rx packets (bad packets included) that are between 25 6 and 511 octets in length 0x12 rx512to1023octets total rx packets (bad packets included) that are between 512 and 1023 octets in length 0x13 rx1024to1521octets total rx packets (bad packets included) that are between 1024 and 1521 octets in length 0x14 rx1522to2000octets total rx packets (bad packets included) that are between 1522 and 2000 octets in length 0x15 txbyte tx good octet count, including pause packets 0x16 txlatecollision the number of times a collision is detected later than 512 bit - times into the tx of a packet 0x17 txpausepkts number of pause frames transmitted by a port 0x18 txbroadcastpkts tx good broadcast packets (not including error broadcast or valid multicast packets) 0x19 txmulticastpkts tx good multicast packets (not includin g error multicast packets or valid broadcast packets) 0x1a txunicastpkts tx good unicast packets 0x1b txdeferred tx packets by a port for which the 1st tx attempt is delayed due to the busy medium 0x1c txtotalcollision tx total collision, half duplex on ly 0x1d txexcessivecollision a count of frames for which tx fails due to excessive collisions 0x1e txsinglecollision successfully tx frames on a port for which tx is inhibited by exactly one collision 0x1f txmultiplecollision successfully tx frames on a port for which tx is inhibited by more than one collision table 13. port 1 mib counters indirect memory offsets
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 72 revision 2. 2 example : 1. mib counter read (read port 1 ?rx64octets? counter at indirect address offset 0x0e) write to reg. iacr (0xc8) with 0x1c0e (set indirect address and trigger a read mib counters operation) then read reg. iadhr (mib counter value 31 - 16) read reg. iadlr (mib counter value 15 - 0) additional mib information in the heaviest condition, the byte counter will o verflow in 2 minutes. it is recommended that the software read all the counters at least every 30 seconds. mib counters are designed as ?read clear?. that is, these counters will be cleared after they are read.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 73 revision 2. 2 absolute maximum ratings (1) supply voltage (vdd_a3.3, vdd_io) ......... ? 0.5v to +4.0v input voltage (all inputs) .............................. ? 0.5v to +4.0v output voltage (all outputs) ........................ ? 0.5v to +4.0v lead te mperature (soldering, 20sec.) ....................... 26 0c storage temperature (t s ) ......................... ? 6 5c to +150c maximum junction temperature (t j ) ....................... +125c hbm esd rat ing .......................................................... 6k v operating ratings (2) supp ly voltage vdd_a3.3 .......................................... +3.1v to +3.5 v vdd_io (3.3v) ................................... +3.1v to +3.5 v vdd_io (2.5v) ............................... +2.35v to +2.6 5v vdd_io (1.8v) ................................... +1.7v to +1.9 v ambient operating temperature (t a ) commercial (mll)?????.?????...0c to +70c industrial (mlli )??????.????... - 40c to +85c thermal resistance (3) junction - to - ambient ( ja ) .......................... 83.56 c/w junction - to - case ( jc ) ............................... 35.90 c/w electrical characteristics (4 , 5 ) symbol parameter condition min typ max units supply current for 100base - tx operation (single port@1 00% utilization) i dd1 100base - tx (analog core + pll + digital core + transceiver + digital i/o) vdd_a3.3, vdd_io = 3.3v; chip only (no transformer) 85 ma vdd_a3.3 = 3.3v, vdd_io = 2.5v; chip only (no transformer) 85 ma vdd_a3.3 = 3.3v, vdd_io = 1.8v; chip only (no transformer) 85 ma supply current for 10base - t operation ( single port@100% utilization) i dd2 10base -t (analog core + pll + digital core + transceiver + digital i/o) vdd_a3.3, vdd_io = 3.3v; chip only (no transformer) 75 ma vd d_a3.3 = 3.3v, vdd_io = 2.5v; chip only (no transformer) 75 ma vdd_a3.3 = 3.3v, vdd_io = 1.8v; chip only (no transformer) 75 ma power management mode i dd3 power - saving mode (6) ethernet cable disconnected & auto - neg 70 ma i dd4 soft power - down mode set bit [1:0] = 10 in pmecr register 2 ma i dd5 energy detect mode at low power state 2 ma cmos inputs (vdd _ io = 3.3v/2.5v/1.8v) v ih input high voltage 2.0/ 1.8 /1.3 v v il input low voltage 0.8/0. 7 /0. 5 v i in input current v in = gnd ~ vdd _ io -10 10 a cmos outputs (vdd _ io = 3.3v/2.5v/1.8v) v oh output high voltage i oh = - 8ma 2.4/ 2.0 /1.5 v v ol output low voltage i ol = 8ma 0.4/0.4 /0. 3 v |i oz | output tri - state leakage 10 a notes: 1. exceeding the absolute maximum rating may damage th e device. 2. the device is not guaranteed to function outside its operating rating. unused inputs must always be tied to a appropriate log ic voltage level (ground to vdd_io). 3. no (hs) heat spreader in this package. the jc / ja is under air velocity 0m/s.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 74 revision 2. 2 ele ctrical characteristics (4, 5) (continued) symbol parameter condition min typ max units 100basetx transmit (measured differentially after 1:1 transformer) v o peak differential output voltage 100 ? termination on the diff. output 0.95 1.05 v v imb output voltage imbalance 100 ? termination on the diff. output 2 % t r, / t f rise/fall time 3 5 ns rise/fall time imbalance 0 0.5 ns duty cycle distortion 0.25 ns overshoot 5 % v set reference voltage of iset 0.5 v output jitter peak -to -peak 0.7 1.4 ns 10baset receive v sq squelch threshold 5mhz square wave 400 mv 10baset transmit (measured differentially after 1:1 transformer) v p peak differential output voltage 100 ? termination on the differential output 2.2 2.5 2.8 v jitter added 100 ? termination on the differential output (peak -to - peak) 1.8 3.5 ns notes: 4. t a = 25c. specification for packaged product only. 5. single port?s transformer consumes an additional 45ma @3.3v for 100base - tx and 70ma @3.3v for 10base - t. 6. single port ?s transformer consumes less than 1ma during the power - saving mode .
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 75 revision 2. 2 timing specifications asynchronous read and write timing (processor read and write) figure 1 0 . asynchronous cycle symbol parameter min typ max unit t1 csn, cmd val id to rdn, wrn active 0 ns t2 rdn active to read data sd[15:0] valid note: this is ksz8851 output delay after rdn active when the processor read data. 2 4 32 ns t3 rdn inactive to read data invalid note: the processor latch read data at rdn rising edge . 1 2 ns t4 csn, cmd hold after rdn, wrn inactive 0 ns t5 wrn active to write data valid (bit12=0 in rxfdpr) 8 16 ns wrn active to write data valid (bit12=1 in rxfdpr) note: it is better if the processor can provide data less than 4ns after wrn act ive. if the processor provide s data more than 4ns after wrn active , keep the default bit12=0 of the register rxfdpr. 4 ns t6 rdn read active time (low) 40 ns wrn write active time (low) 40 ns t7 rdn read inactive time (high) 10 ns wrn write i nactive time (high) 10 ns table 14 . asynchronous cycle timing parameters t5 t1 t3 t4 valid valid valid csn, cmd read data sd[15:0] rdn, wrn write data sd[15:0] t7 t6 t2
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 76 revision 2. 2 auto negotiation timing figure 1 1 . auto negotiation timing timing parameter description min typ max unit t btb flp burst to flp burst 8 16 24 ms t flpw flp burst width 2 m s t pw clock/data pulse width 100 ns t ctd clock pulse to data pulse 55.5 64 69.5 s t ctc clock pulse to clock pulse 111 128 139 s number of clock/data pulses per burst 17 33 table 15 . auto negotiation timing parameters
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 77 revision 2. 2 reset timing as long as t he stable supply voltages to reset high timing (minimum of 10ms) are met, there is no power - sequencing requirement when the ksz8851 - 16mll use a single 3.3v power supply with internal 1.8v ldo . it is also re quirement the power - sequencing to power up the 1.8 v voltage earlier than vddio voltage if the internal 1.8v ldo is not used . at least, the both 1.8v voltage and vddio voltage should come up at the same time when do not using the internal 1.8v ldo . the reset timing requirement is summariz ed in the figure 1 2 and table 17 . figure 1 2 . reset timing symbol parameter min max unit t sr stable supply voltages to reset high 10 ms table 16 . reset timing parameters supply voltage rstn tsr
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 78 revision 2. 2 eeprom timing figure 1 3 . eeprom read cycle timing diagram ti ming parameter description min typ max unit tcyc clock cycle 0.8 (obcr[1:0]=00 on - chip bus speed @ 125mhz) s ts setup time 20 ns th hold time 20 ns table 17 . eeprom timing parameters
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 79 revision 2. 2 reset circuit diagram micrel recommends the following discrete reset circuit as shown in figure 1 4 when powering up the ks8851 device. for application s where the reset signal comes from another device (e.g., cpu, fpga, etc), we recommend the reset circuit shown in figure 1 5 . figure 1 4 . recommended reset circuit figure 1 5 . recommended circuit for interfacing with cpu/fpga reset at power - on- reset, r, c, and d1 provide the necessary ramp rise time to reset the micrel device. the reset out rst_out_n from cpu/fpga provides the warm reset after power up. vcc r 10k d2 c 10f d1 cpu/fpga rst_out_n ksz8851 rst d1, d2: 1n4148 vcc r 10k c 10f d1 ksz8851 rst d1: 1n4148
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 80 revision 2. 2 selection of isolation transformers a 1:1 isolation transformer is required at the line interface. an isolation transformer with integrated common - mode choke is recommended for exceed ing fcc requirements. table 18 gives recommended transformer characteristics. parameter value test condition turns ratio 1 ct : 1 ct open - circuit inductance (min) 350 h 100mv, 100khz, 8ma leakage inductance (max) 0.4 h 1mhz (min) inter - winding capaci tance (max) 12pf d.c. resistance (max) 0.9 ? insertion loss (max) 1.0db 0mhz ? 65mhz hipot (min) 1500vrms table 18 . transformer selection criteria magnetic manufacturer part number auto mdi -x number of port pulse h1102 yes 1 pulse (low cost) h1260 yes 1 transpower hb726 yes 1 bel fuse s558 - 5999-u7 yes 1 delta lf8505 yes 1 lankom lf - h41s yes 1 tdk (mag jack) tla - 6t718 yes 1 table 19 . qualified single port magnetics selection of reference crystal chacteristics value units frequency 25 mhz f requency tolerance (max) 50 ppm load capacitance (max) 20 pf series resistance 40 ? table 20 . typical reference crystal characteristics
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 81 revision 2. 2 package information 48- pin (7mm 7mm) lqfp
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 82 revision 2. 2 acronyms and glossary biu bus interface unit the host interface function that performs code conversion , buffering, and the like required for communications to and from a network . b pd u bridge protocol data unit a packet containing ports, addresses, etc. to make sure data being passed through a bridged network arrives at its proper destination. cmos complementary metal oxide semiconductor a co mmon semiconductor manufacturing technique in which positive and negative types of transistors are combined to form a current gate that in turn forms an effective means of controlling electrical current through a chip. crc cyclic redundancy check a common technique for detecting data transmission errors. crc for ethernet is 32 bits long. cut - through switch a switch typically processes received packets by reading in the full packet (storing), then pr ocessing the packet to determine where it needs to go, then forwarding it. a cut - through switch simply reads in the first bit of an incoming packet and forwards the packet. cut - through switches do not store the packet. da destination address the address to send packets. dma direct memory access a design in which memory on a chip is controlled independently of the cpu. eeprom electronically erasable programmable read - only memory a design in which memory on a chip can be erased by exposing it to an electric al charge. eisa extended industry standard architecture a bus architecture designed for pcs using 80x86 processors, or an intel 80386, 80486 or pentium microprocessor. eisa buses are 32 bits wide and support multiprocessing . emi electro - magnetic interference a naturally occurring phenomena when the electromagnetic field of one device disrupts, impedes or degrades the electromagnetic field of anoth er device by coming into proximity with it. in computer technology, computer devices are susceptible to emi because electromagnetic fields are a byproduct of passing electricity through a wire. data lines that have not been properly shielded are susceptibl e to data corruption by emi. fcs frame check sequence see crc. fid frame or filter id specifies the frame identifier. alternately is the filter identifier. igmp internet group management protocol the protocol defined by rfc 1112 for ip multicast trans missions. ipg inter - packet gap a time delay between successive data packets mandated by the network standard for protocol reasons. in ethernet, the medium has to be "silent" (i.e., no data transfer) for a short period of time before a node can consider t he network idle and start to transmit. ipg is used to correct timing differences between a transmitter and receiver. during the ipg, no data is transferred, and information in the gap can be discarded or additions inserted without impact on data integrity. isi inter - symbol interference the disruption of transmitted code caused by adjacent pulses affecting or interfering with each other. isa industry standard architecture a bus architecture used in the ibm pc/xt and pc/at . jumbo packet a packet larger than the standard ethernet packet (1500 bytes). large packet sizes allow for more efficient use of bandwidth, lower overhead, less processing, etc. mdi medium dependent interface an ethernet port connec tion that allows network hubs or switches to connect to other hubs or switches without a null - modem, or crossover, cable. mdi provides the standard interface to a particular media (copper or fiber) and is therefore 'media dependent.'
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 83 revision 2. 2 mdi -x medium depen dent interface crossover an ethernet port connection that allows networked end stations (i.e., pcs or workstations) to connect to each other using a null - modem, or crossover, cable. for 10/100 full - duplex networks, an end point (such as a computer) and a s witch are wired so that each transmitter connects to the far end receiver. when connecting two computers together, a cable that crosses the tx and rx is required to do this. with auto mdi - x, the phy senses the correct tx and rx roles, eliminating any cable confusion. mib management information base the mib comprises the management portion of network devices. this can include things like monitoring traffic levels and faults (statistical), and can also change operating parameters in network nodes (static forw arding addresses). mii media independent interface the mii accesses phy registers as defined in the ieee 802.3 specification. nic network interface card an expansion board inserted into a computer to allow it to be connected to a network. most nics are des igned for a particular type of network, protocol, and media, although some can serve multiple networks. npvid non port vlan id the port vlan id value is used as a vlan reference. pll phase - locked loop an electronic circuit that controls an oscillator so that it maintains a constant phase angle (i.e., lock) on the frequency of an input, or reference, signal. a pll ensures that a communication signal is locked on a specific frequency and can also be used to generate, modulate, and demodulate a signal and divide a frequency. pme power management event an occurrence that affects the directing of power to different components of a system. qmu queue management unit manages packet traffic between mac/phy interface and the system host. the qmu has built - in pac ket memories for receive and transmit functions called txq (transmit queue) and rxq (receive queue). sa source address the address from which information has been sent. tdr time domain reflectometry tdr is used to pinpoint flaws and problems in undergroun d and aerial wire, cabling, and fiber optics. they send a signal down the conductor and measure the time it takes for the signal -- or part of the signal -- to return. utp unshielded twisted pair commonly a cable containing 4 twisted pairs of wires. the wi res are twisted in such a manner as to cancel electrical interference generated in each wire, therefore shielding is not required. vlan virtual local area network a configuration of computers that acts as if all computers are connected by the same physic al network but which may be located virtually anywhere.
micrel, inc. ksz8851 - 16mll/mlli march 11, 2014 84 revision 2. 2 micrel, inc. 2180 fortune drive san jose, ca 95131 usa tel +1 (408) 944 - 0800 fax +1 (408) 474 - 1000 web http://www.micrel.com micrel makes no representations or warranties with respect to the accuracy or com pleteness of the information furnished in this data sheet. this information is not intended as a warranty and micrel does not assume responsibility for its use. micrel reserves the right to change circuitry, specifications and descriptions at any time wit hout notice. no license, whether express, implied, arising by estoppel or otherwise, to any intellectual property rights is granted by this document. except as provided in micrel?s terms and conditions of sale for such products, micrel assumes no liabili ty whatsoever, and micrel disclaims any express or implied warranty relating to the sale and/or use of micrel products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent, copyright or other intellectual property right . micrel products are not designed or authorized for use as components in life support appliances, devices or systems where mal function of a product can reasonably be expected to result in personal injury. life support devices or systems are devices or systems that (a) are intended for surgical implant into the body or (b) support or sustain life, and whose failure to perform can be reasonably expected to result in a signific ant injury to the user. a purchaser?s use or sale of micrel products for use in life support appliances, devices or systems is a purchaser?s own risk and purchaser agrees to fully indemnify micrel for any damages resulting from such use or sale. ? 20 08 micrel, incorporated.


▲Up To Search▲   

 
Price & Availability of KSZ8851-16MLL

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X